Revision: 7193
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7193&view=rev
Author:   hofman
Date:     2011-03-28 17:28:52 +0000 (Mon, 28 Mar 2011)

Log Message:
-----------
don't pass buffer by reference

Modified Paths:
--------------
    trunk/NSString_SKExtensions.m

Modified: trunk/NSString_SKExtensions.m
===================================================================
--- trunk/NSString_SKExtensions.m       2011-03-28 17:17:36 UTC (rev 7192)
+++ trunk/NSString_SKExtensions.m       2011-03-28 17:28:52 UTC (rev 7193)
@@ -72,7 +72,7 @@
     if(length >= STACK_BUFFER_SIZE) {
         buffer = (UniChar *)CFAllocatorAllocate(allocator, length * 
sizeof(UniChar), 0);
     } else {
-        bzero(&stackBuffer, length * sizeof(UniChar));
+        bzero(stackBuffer, length * sizeof(UniChar));
         buffer = stackBuffer;
     }
     


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and publish 
your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to