diff -r c2c57bf66925 -r a19656173f66 gfxtools/gditools/fontcomp/FONTCOMP.CPP --- a/gfxtools/gditools/fontcomp/FONTCOMP.CPP Mon Mar 08 21:44:25 2010 +0000 +++ b/gfxtools/gditools/fontcomp/FONTCOMP.CPP Sun Mar 14 13:13:44 2010 +0000 @@ -15,8 +15,7 @@ * */ - -#include "FONTCOMP.H" +#include "fontcomp.h" FontCompiler::FontCompiler(): iInputFile(), @@ -40,7 +39,7 @@ #ifdef __MSVCDOTNET__ fstream tempfile(mapfile, ios::in | ios::binary); #else //!__MSVCDOTNET__ - fstream tempfile(mapfile, ios::in | ios::binary | ios::nocreate); + fstream tempfile(mapfile, ios::in | ios::binary); #endif //__MSVCDOTNET__ if(!tempfile.is_open()) @@ -53,7 +52,7 @@ #ifdef __MSVCDOTNET__ iInputFile.open(infile, ios::in | ios::binary); #else //!__MSVCDOTNET__ - iInputFile.open(infile, ios::in | ios::binary | ios::nocreate); + iInputFile.open(infile, ios::in | ios::binary); #endif //__MSVCDOTNET__ if(!(iOutputFile.is_open() && iInputFile.is_open())) @@ -150,7 +149,7 @@ bit>>=1; if (bit==0) { - bit=unsigned char(0x80); + bit= (unsigned char)0x80; pb--; } }