Commit 7d88aba2 authored by Claes Sjofors's avatar Claes Sjofors

Xtt error message box, leading % removed in text

parent b2d3cb25
......@@ -332,6 +332,9 @@ void CoWowGtk::DisplayError( const char *title, const char *text)
}
char *textutf8 = g_convert( text, -1, "UTF-8", "ISO8859-1", NULL, NULL, NULL);
if ( textutf8[0] == '%')
textutf8[0] = ' ';
GtkWidget *dialog = gtk_message_dialog_new( GTK_WINDOW(parent),
GTK_DIALOG_MODAL,
GTK_MESSAGE_ERROR,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment