Reorganise setup_fonts_ucs so that in case of error it does nothing
[sgt/putty] / unix / gtkdlg.c
index eb93d33..50aa4fa 100644 (file)
@@ -3262,7 +3262,7 @@ int messagebox(GtkWidget *parentwin, char *title, char *msg, int minwid, ...)
     return dp.retval;
 }
 
-static int string_width(char *text)
+int string_width(char *text)
 {
     GtkWidget *label = gtk_label_new(text);
     GtkRequisition req;