projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://packetstormsecurity.org/UNIX/admin/xscreensaver-3.34.tar.gz
[xscreensaver]
/
driver
/
prefs.c
diff --git
a/driver/prefs.c
b/driver/prefs.c
index 55b4653c08fcc93ba9d7ff6c3a9ab729c92281df..c074d1f4c2cb509bc043f80a0a1ee41ba1c4bba2 100644
(file)
--- a/
driver/prefs.c
+++ b/
driver/prefs.c
@@
-23,6
+23,7
@@
#include <stdio.h>
#include <ctype.h>
#include <string.h>
#include <stdio.h>
#include <ctype.h>
#include <string.h>
+#include <time.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/time.h>
@@
-1351,10
+1352,7
@@
format_hack (screenhack *hack, Bool wrap_p)
col = string_columns (h2, strlen (h2), 0);
if (wrap_p && col >= tab)
col = string_columns (h2, strlen (h2), 0);
if (wrap_p && col >= tab)
- {
- out = stab_to (out, col, 77);
- *out += strlen(out);
- }
+ out = stab_to (out, col, 77);
else
*out++ = ' ';
else
*out++ = ' ';