Skip to content

Commit

Permalink
Fix win MessageBox() title and message swap
Browse files Browse the repository at this point in the history
  • Loading branch information
doZennn committed Oct 9, 2024
1 parent 358e03e commit 29bfc2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui-helper-win.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lPara

int ShowMessageBox(const char* title, const char* message)
{
return MessageBox(NULL, title, message, MB_OK | MB_ICONEXCLAMATION);
return MessageBox(NULL, message, title, MB_OK | MB_ICONEXCLAMATION);
}

int SelectionDialog(const char* title, int count, const char** list, int selection)
Expand Down

0 comments on commit 29bfc2c

Please sign in to comment.