1 --- tigervnc-1.2.0/vncviewer/CConn.cxx~ 2011-11-15 13:13:37.000000000 +0100
2 +++ tigervnc-1.2.0/vncviewer/CConn.cxx 2012-09-23 13:24:39.673278615 +0200
4 vlog.info(_("connected to host %s port %d"), serverHost, serverPort);
5 } catch (rdr::Exception& e) {
8 + fl_alert("%s", e.str());
12 --- tigervnc-1.2.0/vncviewer/UserDialog.cxx~ 2012-09-23 13:22:47.929949225 +0200
13 +++ tigervnc-1.2.0/vncviewer/UserDialog.cxx 2012-09-23 13:25:45.533276293 +0200
16 switch (flags & 0xf) {
18 - return fl_choice(buffer, NULL, fl_ok, fl_cancel) == 1;
19 + return fl_choice("%s", buffer, NULL, fl_ok, fl_cancel) == 1;
21 - return fl_choice(buffer, NULL, fl_yes, fl_no) == 1;
22 + return fl_choice("%s", buffer, NULL, fl_yes, fl_no) == 1;
25 if (((flags & 0xf0) == M_ICONERROR) ||
26 ((flags & 0xf0) == M_ICONWARNING))
28 + fl_alert("%s", buffer);
31 + fl_message("%s", buffer);
35 --- tigervnc-1.2.0/vncviewer/Viewport.cxx~ 2012-01-05 13:37:04.000000000 +0100
36 +++ tigervnc-1.2.0/vncviewer/Viewport.cxx 2012-09-23 13:26:09.889942100 +0200
39 if (fltk_escape(cc->connectionInfo(), buffer, sizeof(buffer)) < sizeof(buffer)) {
40 fl_message_title(_("VNC connection info"));
42 + fl_message("%s", buffer);
46 --- tigervnc-1.2.0/vncviewer/vncviewer.cxx~ 2011-10-12 22:02:55.000000000 +0200
47 +++ tigervnc-1.2.0/vncviewer/vncviewer.cxx 2012-09-23 13:26:46.729940794 +0200
49 void about_vncviewer()
51 fl_message_title(_("About TigerVNC Viewer"));
52 - fl_message(aboutText);
53 + fl_message("%s", aboutText);
56 static void about_callback(Fl_Widget *widget, void *data)
60 if (exitError != NULL)
61 - fl_alert(exitError);
62 + fl_alert("%s", exitError);