[GME-commit] GMESRC/GME/Gme GMEOLEData.cpp,1.14,1.15
gme-commit at list.isis.vanderbilt.edu
gme-commit at list.isis.vanderbilt.edu
Mon May 24 10:35:16 CDT 2004
Update of /var/lib/gme/GMESRC/GME/Gme
In directory braindrain:/tmp/cvs-serv10995
Modified Files:
GMEOLEData.cpp
Log Message:
Copy and paste fixed between two GME instances.
CVS User: zolmol
Index: GMEOLEData.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/Gme/GMEOLEData.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** GMEOLEData.cpp 23 Feb 2004 16:20:39 -0000 1.14
--- GMEOLEData.cpp 24 May 2004 14:35:13 -0000 1.15
***************
*** 237,240 ****
--- 237,245 ----
{
c = memfile->Read(buff, buffsize);
+
+ UINT new_c = 0; // addition by ZolMol
+ while( buff[new_c] != 0 && new_c < c) ++new_c;
+ c = new_c; // end
+
file.Write(buff, c);
} while( c == buffsize );
More information about the GME-commit
mailing list