]> git.pld-linux.org Git - packages/xorg-app-editres.git/blame - xorg-app-editres-format.patch
- updated to 1.0.9
[packages/xorg-app-editres.git] / xorg-app-editres-format.patch
CommitLineData
3b405521
JB
1--- editres-1.0.7/geometry.c.orig 2018-03-15 20:38:33.578823819 +0100
2+++ editres-1.0.7/geometry.c 2018-03-15 20:45:03.065486046 +0100
3@@ -63,7 +63,7 @@
ac325be9
JB
4 Window win;
5 int x, y; /* location of event in root coordinates. */
6
3b405521
JB
7- snprintf(msg, sizeof(msg), res_labels[14]);
8+ snprintf(msg, sizeof(msg), "%s", res_labels[14]);
ac325be9
JB
9
10 SetMessage(global_screen_data.info_label, msg);
11
3b405521 12@@ -103,7 +103,7 @@
ac325be9
JB
13 find_event->widgets.num_widgets);
14
15 if (node == NULL) {
3b405521
JB
16- snprintf(msg, sizeof(msg), res_labels[13]);
17+ snprintf(msg, sizeof(msg), "%s", res_labels[13]);
ac325be9 18 SetMessage(global_screen_data.info_label, msg);
3b405521 19 return;
ac325be9 20 }
3b405521
JB
21--- editres-1.0.7/svpopup.c.orig 2018-03-15 20:38:33.578823819 +0100
22+++ editres-1.0.7/svpopup.c 2018-03-15 20:45:25.268819111 +0100
23@@ -127,7 +127,7 @@
ac325be9
JB
24 old = global_screen_data.res_text;
25 break;
26 default:
3b405521
JB
27- snprintf(msg, sizeof(msg), res_labels[22]);
28+ snprintf(msg, sizeof(msg), "%s", res_labels[22]);
ac325be9
JB
29 SetMessage(global_screen_data.info_label, msg);
30 return;
31 }
3b405521
JB
32--- editres-1.0.7/utils.c.orig 2018-03-15 20:38:33.578823819 +0100
33+++ editres-1.0.7/utils.c 2018-03-15 20:45:53.745485464 +0100
34@@ -518,7 +518,7 @@
ac325be9
JB
35 get_event->info[i].widgets.num_widgets);
36
37 if (node == NULL) {
3b405521
JB
38- snprintf(buf, sizeof(buf), res_labels[16]);
39+ snprintf(buf, sizeof(buf), "%s", res_labels[16]);
40 AddString(&errors, buf);
41 continue;
ac325be9 42 }
This page took 0.299109 seconds and 4 git commands to generate.