blob: aad08dd18f176e4668f78d3555268b2558daab71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--- a/wmswallow.c 2015-04-01 17:12:29.420177608 +0200
+++ b/wmswallow.c 2015-04-01 17:13:14.947182921 +0200
@@ -445,11 +445,11 @@
int printlist(FILE * stream, char * string, char **stringlist) {
int i=0;
- fprintf(stream, string);
+ fprintf(stream, "%s", string);
if (stringlist!=NULL) {
while (stringlist[i]!=NULL) {
fprintf(stream, " §");
- fprintf(stream, stringlist[i]);
+ fprintf(stream, "%s", stringlist[i]);
fprintf(stream, "§ ");
++i;
}
|