Properly append version to the messagebox title
This commit is contained in:
parent
b8aa6f968b
commit
bb8d41c06d
@ -22,8 +22,8 @@
|
||||
suffix; \
|
||||
}
|
||||
|
||||
const char *TITLE_A = "v" JADEITE_VERSION "Jadeite Autopatcher";
|
||||
const wchar_t *TITLE_W = L"v" JADEITE_VERSION "Jadeite Autopatcher";
|
||||
const char *TITLE_A = "v" JADEITE_VERSION " Jadeite Autopatcher";
|
||||
const wchar_t *TITLE_W = L"v" JADEITE_VERSION " Jadeite Autopatcher";
|
||||
|
||||
// Error
|
||||
DEF_MSG_FN(msg_err_a, char, _vsnprintf, MessageBoxA, TITLE_A, MB_OK | MB_ICONERROR, exit(1))
|
||||
|
@ -73,9 +73,9 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved) {
|
||||
// Start the game
|
||||
STARTUPINFOW si;
|
||||
ZeroMemory(&si, sizeof(si));
|
||||
si.cb = sizeof(si);
|
||||
|
||||
PROCESS_INFORMATION pi;
|
||||
si.cb = sizeof(si);
|
||||
ZeroMemory(&pi, sizeof(pi));
|
||||
|
||||
if (!CreateProcessW(
|
||||
|
@ -85,9 +85,9 @@ int wmain(int argc, wchar_t **argv) {
|
||||
|
||||
STARTUPINFOW si;
|
||||
ZeroMemory(&si, sizeof(si));
|
||||
si.cb = sizeof(si);
|
||||
|
||||
PROCESS_INFORMATION pi;
|
||||
si.cb = sizeof(si);
|
||||
ZeroMemory(&pi, sizeof(pi));
|
||||
|
||||
if (!CreateProcessW(
|
||||
|
Loading…
Reference in New Issue
Block a user