Skip to content

Commit

Permalink
Lang is a string, not a char array. The size are not fixed, and not w…
Browse files Browse the repository at this point in the history
…orks under Win32.
  • Loading branch information
lygstate committed Jul 5, 2017
1 parent 2d4af0b commit 03bc515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/alfons/langHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ namespace alfons {
const std::string DEFAULT_LANGUAGES = "en:zh-cn"; // GIVING PRIORITY (BY DEFAULT) TO CHINESE OVER JAPANESE

struct HBScriptForLang {
const char lang[7];
const char *lang;
hb_script_t scripts[3];
};

Expand Down

0 comments on commit 03bc515

Please sign in to comment.