[winecfg] Wrong text in messagebox

Paul Vriens Paul.Vriens at xs4all.nl
Wed Aug 23 01:53:56 CDT 2006


Hi,

while translating the new stuff to Dutch I tried to remove drive C and 
found this typo. What I also found is that the messagebox is too small
to hold the text as defined in the current .rc files. What can we do 
about that?

Changelog
  Wrong text in messagebox

Cheers,

Paul.
---
 programs/winecfg/driveui.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/programs/winecfg/driveui.c b/programs/winecfg/driveui.c
index f7557f9..0be623a 100644
--- a/programs/winecfg/driveui.c
+++ b/programs/winecfg/driveui.c
@@ -55,7 +55,7 @@ static void update_controls(HWND dialog)
 static DWORD driveui_msgbox (HWND parent, UINT messageId, DWORD flags)
 {
   WCHAR* caption = load_string (IDS_WINECFG_TITLE);
-  WCHAR* text = load_string (flags);
+  WCHAR* text = load_string (messageId);
   DWORD result = MessageBoxW (parent, text, caption, flags);
   HeapFree (GetProcessHeap(), 0, caption);
   HeapFree (GetProcessHeap(), 0, text);
-- 
1.4.1.1




More information about the wine-patches mailing list