]> git.pld-linux.org Git - packages/xorg-app-editres.git/blob - xorg-app-editres-format.patch
- updated to 1.0.9
[packages/xorg-app-editres.git] / xorg-app-editres-format.patch
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 @@
4      Window win;
5      int x, y;                  /* location of event in root coordinates. */
6  
7 -    snprintf(msg, sizeof(msg), res_labels[14]);
8 +    snprintf(msg, sizeof(msg), "%s", res_labels[14]);
9  
10      SetMessage(global_screen_data.info_label, msg);
11  
12 @@ -103,7 +103,7 @@
13                     find_event->widgets.num_widgets);
14  
15      if (node == NULL) {
16 -       snprintf(msg, sizeof(msg), res_labels[13]);
17 +       snprintf(msg, sizeof(msg), "%s", res_labels[13]);
18         SetMessage(global_screen_data.info_label, msg);
19         return;
20      }
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 @@
24         old = global_screen_data.res_text;
25         break;
26      default:
27 -       snprintf(msg, sizeof(msg), res_labels[22]);
28 +       snprintf(msg, sizeof(msg), "%s", res_labels[22]);
29         SetMessage(global_screen_data.info_label, msg);
30         return;
31      }
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 @@
35                         get_event->info[i].widgets.num_widgets);
36  
37         if (node == NULL) {
38 -           snprintf(buf, sizeof(buf), res_labels[16]);
39 +           snprintf(buf, sizeof(buf), "%s", res_labels[16]);
40             AddString(&errors, buf);
41             continue;
42         }
This page took 0.098498 seconds and 3 git commands to generate.