Permalink
Browse files

Merge pull request #145 from euler0/master

Fix for international(non-Latin) build environment
  • Loading branch information...
2 parents e009683 + d497e49 commit a2ae0ea035dbfb4b18a7fd1de03ab83eb047d58f @seanpaultaylor seanpaultaylor committed Jun 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 gameplay/src/Bundle.cpp
@@ -182,7 +182,7 @@ Bundle* Bundle::create(const char* path)
// Read the GPB header info.
char sig[9];
- if (fread(sig, 1, 9, fp) != 9 || memcmp(sig, "«GPB»\r\n\x1A\n", 9) != 0)
+ if (fread(sig, 1, 9, fp) != 9 || memcmp(sig, "\xABGPB\xBB\r\n\x1A\n", 9) != 0)
{
GP_ERROR("Invalid GPB header for bundle '%s'.", path);
if (fclose(fp) != 0)

0 comments on commit a2ae0ea

Please sign in to comment.