mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 10:37:41 -04:00
Convert custom HeadSpin integer types to standard types from stdint.h
This commit is contained in:
@ -103,7 +103,7 @@ void SaveLocalizationText()
|
||||
if (gCurrentPath == L"")
|
||||
return; // no path to save
|
||||
|
||||
UInt32 textLen = (UInt32)SendMessage(GetDlgItem(gEditDlg, IDC_LOCALIZATIONTEXT), WM_GETTEXTLENGTH, (WPARAM)0, (LPARAM)0);
|
||||
uint32_t textLen = (uint32_t)SendMessage(GetDlgItem(gEditDlg, IDC_LOCALIZATIONTEXT), WM_GETTEXTLENGTH, (WPARAM)0, (LPARAM)0);
|
||||
wchar_t *buffer = new wchar_t[textLen + 2];
|
||||
GetDlgItemTextW(gEditDlg, IDC_LOCALIZATIONTEXT, buffer, textLen + 1);
|
||||
buffer[textLen + 1] = 0;
|
||||
|
Reference in New Issue
Block a user