small fixes

git-svn-id: https://clonekeenplus.svn.sourceforge.net/svnroot/clonekeenplus/cgenius/trunk@86 4df4b0f3-56ce-47cb-b001-ed939b7d65a6
This commit is contained in:
albertzeyer
2009-07-22 00:45:55 +00:00
parent c86fd4e5f6
commit cb3c2e2502
3 changed files with 4 additions and 7 deletions
+2 -4
View File
@@ -72,10 +72,8 @@ bool CEGAGraphics::loadData()
}
HeadFile.close();
char *data;
data = new char[databuf.size()];
memcpy(data, databuf.data(), databuf.size());
char *data = new char[databuf.size()];
memcpy(data, &databuf[0], databuf.size());
// Now copy the data to the EGAHEAD Structure
memcpy(&LatchPlaneSize,data,4);