]>
Commit | Line | Data |
---|---|---|
9ee4e8e4 MGB |
1 | --- fvwm-2.6.5/libs/FRenderInit.c~ 2013-05-05 08:55:11.555668251 +0200 |
2 | +++ fvwm-2.6.5/libs/FRenderInit.c 2013-05-05 08:54:36.265666672 +0200 | |
3 | @@ -129,7 +129,7 @@ | |
4 | code <= FRenderErrorBase + | |
5 | (sizeof(error_names) / sizeof(char *)) -1) | |
6 | { | |
7 | - sprintf(msg, error_names[code - FRenderErrorBase]); | |
8 | + sprintf(msg, "%s", error_names[code - FRenderErrorBase]); | |
9 | return 1; | |
10 | } | |
11 | } | |
12 | --- fvwm-2.6.5/modules/FvwmIconMan/functions.c~ 2007-01-27 12:33:16.000000000 +0100 | |
13 | +++ fvwm-2.6.5/modules/FvwmIconMan/functions.c 2013-05-05 11:22:41.200960493 +0200 | |
14 | @@ -535,7 +535,7 @@ | |
15 | else | |
16 | { | |
17 | sprintf(buf, "%s\n", s); | |
18 | - ConsoleMessage(buf); | |
19 | + ConsoleMessage("%s", buf); | |
20 | } | |
21 | ||
22 | return 0; | |
23 | --- fvwm-2.6.5/fvwm/virtual.c~ 2011-08-16 09:05:53.000000000 +0200 | |
24 | +++ fvwm-2.6.5/fvwm/virtual.c 2013-05-05 11:18:18.824282087 +0200 | |
25 | @@ -2020,9 +2020,9 @@ | |
26 | "The command EdgeResistance with three arguments is" | |
27 | " obsolete. Please use the following commands" | |
28 | " instead:"); | |
29 | - fvwm_msg(OLD, "", cmd); | |
30 | - fvwm_msg(OLD, "", stylecmd); | |
31 | - fvwm_msg(OLD, "", stylecmd2); | |
32 | + fvwm_msg(OLD, "", "%s", cmd); | |
33 | + fvwm_msg(OLD, "", "%s", stylecmd); | |
34 | + fvwm_msg(OLD, "", "%s", stylecmd2); | |
35 | execute_function( | |
36 | cond_rc, exc, cmd, | |
37 | FUNC_DONT_REPEAT | FUNC_DONT_EXPAND_COMMAND); | |
38 | --- fvwm-2.6.5/fvwm/builtins.c~ 2012-01-18 11:22:45.000000000 +0100 | |
39 | +++ fvwm-2.6.5/fvwm/builtins.c 2013-05-05 11:15:10.200940313 +0200 | |
40 | @@ -2682,7 +2682,7 @@ | |
41 | action[len-1]='\0'; | |
42 | } | |
43 | } | |
44 | - fvwm_msg(ECHO,"Echo",action); | |
45 | + fvwm_msg(ECHO,"Echo","%s",action); | |
46 | ||
47 | return; | |
48 | } | |
49 | --- fvwm-2.6.5/fvwm/move_resize.c~ 2011-09-30 11:00:53.000000000 +0200 | |
50 | +++ fvwm-2.6.5/fvwm/move_resize.c 2013-05-05 11:12:05.544265384 +0200 | |
51 | @@ -3038,7 +3038,7 @@ | |
52 | OLD, "CMD_SnapAttraction", | |
53 | "The command SnapAttraction is obsolete. Please use the" | |
54 | " following command instead:"); | |
55 | - fvwm_msg(OLD, "", cmd); | |
56 | + fvwm_msg(OLD, "","%s", cmd); | |
57 | execute_function( | |
58 | cond_rc, exc, cmd, | |
59 | FUNC_DONT_REPEAT | FUNC_DONT_EXPAND_COMMAND); | |
60 | @@ -3060,7 +3060,7 @@ | |
61 | OLD, "CMD_SnapGrid", | |
62 | "The command SnapGrid is obsolete. Please use the following" | |
63 | " command instead:"); | |
64 | - fvwm_msg(OLD, "", cmd); | |
65 | + fvwm_msg(OLD, "","%s", cmd); | |
66 | execute_function( | |
67 | cond_rc, exc, cmd, | |
68 | FUNC_DONT_REPEAT | FUNC_DONT_EXPAND_COMMAND); |