blob: c1b66e3899b92fe6e0bc607b1355b3f92b29af51 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- docklib.c.orig 2020-09-17 11:16:57 UTC
+++ docklib.c
@@ -300,6 +300,7 @@ execCommand(char *command)
/*****************/
Window Root;
+Display *display;
int screen;
int x_fd;
int d_depth;
@@ -713,7 +714,7 @@ char text[MAX_LINE_LEN];
p_strcpy (text, "# ", MAX_LINE_LEN);
p_strcat (text, comment, MAX_LINE_LEN);
- fprintf (prefs_filehandle, text);
+ fprintf (prefs_filehandle, "%s", text);
}
/*---------------------------------------------------------------------------*/
|