[winecfg] Make sure we can use a large text

Paul Vriens Paul.Vriens at xs4all.nl
Wed Aug 23 05:01:35 CDT 2006


some of our text in the .rc files are way bigger than the 100 currently
defined. This fixes the messagebox textsize when removing the C drive.

  Make sure we can use a large text



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

diff --git a/programs/winecfg/winecfg.c b/programs/winecfg/winecfg.c
index 818efed..d383482 100644
--- a/programs/winecfg/winecfg.c
+++ b/programs/winecfg/winecfg.c
@@ -76,7 +76,7 @@ void set_window_title(HWND dialog)
 WCHAR* load_string (UINT id)
-    WCHAR buf[100];
+    WCHAR buf[1024];
     int len;
     WCHAR* newStr;

More information about the wine-patches mailing list