ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/src/Patches/Localization.c
(Generate patch)

Comparing Daodan/src/Patches/Localization.c (file contents):
Revision 994 by alloc, Mon Apr 7 10:33:27 2014 UTC vs.
Revision 1000 by alloc, Sun May 4 18:17:11 2014 UTC

# Line 126 | Line 126 | void LocalizationIniCallback(const char*
126  
127   void DD_Localization()
128   {
129 <        char* lang = DDrConfig_GetOptOfType("options.language", C_STRING)->value.stringVal;
129 >        char* lang = DDrConfig_GetOptOfType("language.language", C_STRING)->value.stringVal;
130          char filename[50] = "daodan_locales/";
131          strcpy(filename + strlen(filename), lang);
132          strcpy(filename + strlen(filename), ".ini");

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)