winecfg: Wrong text in messagebox.

This commit is contained in:
Paul Vriens 2006-08-23 08:53:56 +02:00 committed by Alexandre Julliard
parent 3a04565b18
commit a53ee521d0
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ static void update_controls(HWND dialog);
static DWORD driveui_msgbox (HWND parent, UINT messageId, DWORD flags) static DWORD driveui_msgbox (HWND parent, UINT messageId, DWORD flags)
{ {
WCHAR* caption = load_string (IDS_WINECFG_TITLE); WCHAR* caption = load_string (IDS_WINECFG_TITLE);
WCHAR* text = load_string (flags); WCHAR* text = load_string (messageId);
DWORD result = MessageBoxW (parent, text, caption, flags); DWORD result = MessageBoxW (parent, text, caption, flags);
HeapFree (GetProcessHeap(), 0, caption); HeapFree (GetProcessHeap(), 0, caption);
HeapFree (GetProcessHeap(), 0, text); HeapFree (GetProcessHeap(), 0, text);