]>
Commit | Line | Data |
---|---|---|
78f92ab6 JR |
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 | |
3 | @@ -100,7 +100,7 @@ | |
4 | vlog.info(_("connected to host %s port %d"), serverHost, serverPort); | |
5 | } catch (rdr::Exception& e) { | |
6 | vlog.error(e.str()); | |
7 | - fl_alert(e.str()); | |
8 | + fl_alert("%s", e.str()); | |
9 | exit_vncviewer(); | |
10 | return; | |
11 | } | |
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 | |
14 | @@ -167,16 +167,16 @@ | |
15 | ||
16 | switch (flags & 0xf) { | |
17 | case M_OKCANCEL: | |
18 | - return fl_choice(buffer, NULL, fl_ok, fl_cancel) == 1; | |
19 | + return fl_choice("%s", buffer, NULL, fl_ok, fl_cancel) == 1; | |
20 | case M_YESNO: | |
21 | - return fl_choice(buffer, NULL, fl_yes, fl_no) == 1; | |
22 | + return fl_choice("%s", buffer, NULL, fl_yes, fl_no) == 1; | |
23 | case M_OK: | |
24 | default: | |
25 | if (((flags & 0xf0) == M_ICONERROR) || | |
26 | ((flags & 0xf0) == M_ICONWARNING)) | |
27 | - fl_alert(buffer); | |
28 | + fl_alert("%s", buffer); | |
29 | else | |
30 | - fl_message(buffer); | |
31 | + fl_message("%s", buffer); | |
32 | return true; | |
33 | } | |
34 | ||
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 | |
37 | @@ -950,7 +950,7 @@ | |
38 | case ID_INFO: | |
39 | if (fltk_escape(cc->connectionInfo(), buffer, sizeof(buffer)) < sizeof(buffer)) { | |
40 | fl_message_title(_("VNC connection info")); | |
41 | - fl_message(buffer); | |
42 | + fl_message("%s", buffer); | |
43 | } | |
44 | break; | |
45 | case ID_ABOUT: | |
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 | |
48 | @@ -86,7 +86,7 @@ | |
49 | void about_vncviewer() | |
50 | { | |
51 | fl_message_title(_("About TigerVNC Viewer")); | |
52 | - fl_message(aboutText); | |
53 | + fl_message("%s", aboutText); | |
54 | } | |
55 | ||
56 | static void about_callback(Fl_Widget *widget, void *data) | |
57 | @@ -311,7 +311,7 @@ | |
58 | delete cc; | |
59 | ||
60 | if (exitError != NULL) | |
61 | - fl_alert(exitError); | |
62 | + fl_alert("%s", exitError); | |
63 | ||
64 | return 0; | |
65 | } |