[commit] r2350 - trunk/GME/Gme

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Mon Sep 16 09:43:39 CDT 2013


Author: ksmyth
Date: Mon Sep 16 09:43:38 2013
New Revision: 2350

Log:
Don't write BOM into clipboard

Modified:
   trunk/GME/Gme/GMEOLEData.cpp

Modified: trunk/GME/Gme/GMEOLEData.cpp
==============================================================================
--- trunk/GME/Gme/GMEOLEData.cpp	Mon Sep 16 09:43:17 2013	(r2349)
+++ trunk/GME/Gme/GMEOLEData.cpp	Mon Sep 16 09:43:38 2013	(r2350)
@@ -405,6 +405,7 @@
 			
 			const int buffsize = 10240;
 			unsigned char buff[buffsize];
+			file.Read(buff, 2); // skip BOM
 			UINT c;
 			do
 			{


More information about the gme-commit mailing list