43 lines
1.4 KiB
Diff
43 lines
1.4 KiB
Diff
|
diff -pur xine-ui-0.99.5/src/xitk/main.c xine-ui-0.99.5-fix/src/xitk/main.c
|
||
|
--- xine-ui-0.99.5/src/xitk/main.c 2005-07-24 04:40:37.000000000 +0200
|
||
|
+++ xine-ui-0.99.5-fix/src/xitk/main.c 2006-04-28 14:42:58.000000000 +0200
|
||
|
@@ -456,7 +456,7 @@ static void print_formatted(char *title,
|
||
|
int len;
|
||
|
char *blanks = " ";
|
||
|
|
||
|
- printf(title);
|
||
|
+ printf("%s", title);
|
||
|
|
||
|
sprintf(buffer, "%s", blanks);
|
||
|
plugin = *plugins++;
|
||
|
@@ -469,7 +469,7 @@ static void print_formatted(char *title,
|
||
|
sprintf(buffer, "%s%s%s", buffer, (strlen(buffer) == strlen(blanks)) ? "" : ", ", plugin);
|
||
|
}
|
||
|
else {
|
||
|
- printf(buffer);
|
||
|
+ printf("%s", buffer);
|
||
|
printf(",\n");
|
||
|
snprintf(buffer, sizeof(buffer), "%s%s", blanks, plugin);
|
||
|
}
|
||
|
@@ -478,7 +478,7 @@ static void print_formatted(char *title,
|
||
|
}
|
||
|
|
||
|
if(strlen(buffer))
|
||
|
- printf(buffer);
|
||
|
+ printf("%s", buffer);
|
||
|
|
||
|
printf(".\n\n");
|
||
|
}
|
||
|
diff -pur xine-ui-0.99.5/src/xitk/xine-toolkit/xitk.c xine-ui-0.99.5-fix/src/xitk/xine-toolkit/xitk.c
|
||
|
--- xine-ui-0.99.5/src/xitk/xine-toolkit/xitk.c 2005-05-21 00:02:05.000000000 +0200
|
||
|
+++ xine-ui-0.99.5-fix/src/xitk/xine-toolkit/xitk.c 2006-04-28 14:43:25.000000000 +0200
|
||
|
@@ -1877,7 +1877,7 @@ void xitk_init(Display *display, XColor
|
||
|
sprintf(buffer, "%s%s", buffer, " ]-");
|
||
|
|
||
|
if(verbosity)
|
||
|
- printf(buffer);
|
||
|
+ printf("%s", buffer);
|
||
|
|
||
|
gXitk->wm_type = xitk_check_wm(display);
|
||
|
|