optimize for muli-language ini format

This commit is contained in:
longpanda 2020-05-05 18:48:45 +08:00
parent ce9c679ab3
commit 835cb958ed
5 changed files with 2 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View File

@ -64,11 +64,11 @@ extern BOOL g_SecureBoot;
#define VENTOY_CFG_INI TEXT(".\\Ventoy2Disk.ini") #define VENTOY_CFG_INI TEXT(".\\Ventoy2Disk.ini")
#define VENTOY_MAX_LANGUAGE 200 #define VENTOY_MAX_LANGUAGE 200
#define GET_INI_STRING(Key, Buf) GetPrivateProfileString(Language, Key, TEXT("#"), Buf, sizeof(Buf), VENTOY_LANGUAGE_INI) #define GET_INI_STRING(Section, Key, Buf) GetPrivateProfileString(Section, Key, TEXT("#"), Buf, sizeof(Buf), VENTOY_LANGUAGE_INI)
typedef struct VENTOY_LANGUAGE typedef struct VENTOY_LANGUAGE
{ {
WCHAR Name[64]; WCHAR Name[128];
WCHAR FontFamily[64]; WCHAR FontFamily[64];
int FontSize; int FontSize;

Binary file not shown.