You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/x11-plugins/wmswallow/files/wmswallow-0.6.1-format-secu...

17 lines
498 B

--- wmswallow.c.orig 2015-04-01 17:12:29.420177608 +0200
+++ 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;
}