harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apetre...@apache.org
Subject svn commit: r532707 - /harmony/enhanced/classlib/trunk/modules/awt/src/main/native/lcmm/shared/cmmio.c
Date Thu, 26 Apr 2007 11:20:14 GMT
Author: apetrenko
Date: Thu Apr 26 04:20:13 2007
New Revision: 532707

URL: http://svn.apache.org/viewvc?view=rev&rev=532707
Log:
Patch for HARMONY-3677 "[classlib][awt] Results of running checker tool"

Modified:
    harmony/enhanced/classlib/trunk/modules/awt/src/main/native/lcmm/shared/cmmio.c

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/native/lcmm/shared/cmmio.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/native/lcmm/shared/cmmio.c?view=diff&rev=532707&r1=532706&r2=532707
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/native/lcmm/shared/cmmio.c (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/native/lcmm/shared/cmmio.c Thu Apr
26 04:20:13 2007
@@ -122,10 +122,11 @@
 
   if (size == 0) return TRUE;
        
-  if (memBuffer != NULL) 
+  if (memBuffer != NULL) {
     CopyMemory(memBuffer->CurrPtr, Data, size);
     memBuffer->CurrPtr += size;
-
+  }
+  
   return TRUE;
 }
 
@@ -135,9 +136,10 @@
 
   if (size == 0) return TRUE;
        
-  if (memBuffer != NULL) 
+  if (memBuffer != NULL) {
     ZeroMemory(memBuffer->CurrPtr, size);
     memBuffer->CurrPtr += size;
+  }
 
   return size;
 }



Mime
View raw message