Browse Source

Merge pull request #1199 from seanpaultaylor/next

Fixes #1198
Sean Taylor 12 years ago
parent
commit
b92c3fbd8c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tools/encoder/src/TTFFontEncoder.cpp

+ 2 - 2
tools/encoder/src/TTFFontEncoder.cpp

@@ -310,8 +310,8 @@ int writeFont(const char* inFilePath, const char* outFilePath, unsigned int font
     }
     
     // File header and version.
-    FILE *gpbFp = fopen(outFilePath, "wb");
-    char fileHeader[9]     = {'«', 'G', 'P', 'B', '»', '\r', '\n', '\x1A', '\n'};
+    FILE *gpbFp = fopen(outFilePath, "wb");    
+    char fileHeader[9]     = {'\xAB', 'G', 'P', 'B', '\xBB', '\r', '\n', '\x1A', '\n'};
     fwrite(fileHeader, sizeof(char), 9, gpbFp);
     fwrite(gameplay::GPB_VERSION, sizeof(char), 2, gpbFp);