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-4.00.tar.gz
[xscreensaver]
/
hacks
/
noseguy.c
diff --git
a/hacks/noseguy.c
b/hacks/noseguy.c
index 9ea9f4e54204247a6b4c8ce8475b46c0283e802c..0bf10d82899aee773bee6174e58bc8f9910b1bbf 100644
(file)
--- a/
hacks/noseguy.c
+++ b/
hacks/noseguy.c
@@
-11,7
+11,8
@@
*/
/* Make a little guy with a big nose and a hat wanter around the screen,
*/
/* Make a little guy with a big nose and a hat wanter around the screen,
- spewing out messages. Derived from xnlock by Dan Heller <argv@sun.com>.
+ spewing out messages. Derived from xnlock by
+ Dan Heller <argv@danheller.com>.
*/
#include "screenhack.h"
*/
#include "screenhack.h"
@@
-542,7
+543,9
@@
get_words (void)
sprintf (buf, "\"%s\" produced no output!", orig_program);
else if (!first_time &&
(strstr (buf, ": not found") ||
sprintf (buf, "\"%s\" produced no output!", orig_program);
else if (!first_time &&
(strstr (buf, ": not found") ||
- strstr (buf, ": Not found")))
+ strstr (buf, ": Not found") ||
+ strstr (buf, ": command not found") ||
+ strstr (buf, ": Command not found")))
switch (random () % 20)
{
case 1: strcat (buf, "( Get with the program, bub. )\n");
switch (random () % 20)
{
case 1: strcat (buf, "( Get with the program, bub. )\n");
@@
-617,7
+620,7
@@
char *defaults [] = {
#else
"*mode: string",
#endif
#else
"*mode: string",
#endif
- "*program: "
ZIPPY
_PROGRAM,
+ "*program: "
FORTUNE
_PROGRAM,
"noseguy.font: -*-new century schoolbook-*-r-*-*-*-180-*-*-*-*-*-*",
0
};
"noseguy.font: -*-new century schoolbook-*-r-*-*-*-180-*-*-*-*-*-*",
0
};