[Gtkradiant] [Bug 516] New: Gtk error message box fails on non-english windows setups

gtkradiant@zerowing.idsoftware.com gtkradiant@zerowing.idsoftware.com
Fri, 10 May 2002 12:27:36 -0500


http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=516

           Summary: Gtk error message box fails on non-english windows
                    setups
           Product: GtkRadiant
           Version: 1.2
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: editor
        AssignedTo: ttimo@idsoftware.com
        ReportedBy: ttimo@idsoftware.com


the error function uses FormatMessageA
leads to a wide char error string
if you try to send this to gtk_MessageBox, the message will be empty

doesn't seem that there is an easy way to convert either, WideCharToMultiByte
call completely fucks the error message.

if no ANSI string can be obtained, use a win32 dialog box for error prompt?



------- You are receiving this mail because: -------
Whoops!  I have no idea!