projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ftp://ftp.swin.edu.au/slackware/slackware-9.1/source/xap/xscreensaver/xscreensaver...
[xscreensaver]
/
hacks
/
noseguy.c
diff --git
a/hacks/noseguy.c
b/hacks/noseguy.c
index f7c8013dee02e3c7bf07ae26e624c33021269500..4b25990848fb8caf1eab33e20c8dc359e158be33 100644
(file)
--- a/
hacks/noseguy.c
+++ b/
hacks/noseguy.c
@@
-295,7
+295,11
@@
think (void)
return 0;
}
return 0;
}
-#define MAXLINES 40
+#define MAXLINES 25
+
+#undef BUFSIZ
+#define BUFSIZ ((MAXLINES + 1) * 100)
+
static void
talk(int force_erase)
static void
talk(int force_erase)
@@
-363,7
+367,7
@@
talk(int force_erase)
(void) strcpy(args[height], p);
if (height == MAXLINES - 1)
{
(void) strcpy(args[height], p);
if (height == MAXLINES - 1)
{
- puts("Message too long!");
+ /* puts("Message too long!"); */
break;
}
p = p2 + 1;
break;
}
p = p2 + 1;