X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fnoseguy.c;h=4b25990848fb8caf1eab33e20c8dc359e158be33;hp=f7c8013dee02e3c7bf07ae26e624c33021269500;hb=bbd0773f2adde4927a6196361d4061e70bf48cd9;hpb=6a1da724858673ac40aa13a9612340d8bed8c7b9 diff --git a/hacks/noseguy.c b/hacks/noseguy.c index f7c8013d..4b259908 100644 --- a/hacks/noseguy.c +++ b/hacks/noseguy.c @@ -295,7 +295,11 @@ think (void) return 0; } -#define MAXLINES 40 +#define MAXLINES 25 + +#undef BUFSIZ +#define BUFSIZ ((MAXLINES + 1) * 100) + static void talk(int force_erase) @@ -363,7 +367,7 @@ talk(int force_erase) (void) strcpy(args[height], p); if (height == MAXLINES - 1) { - puts("Message too long!"); + /* puts("Message too long!"); */ break; } p = p2 + 1;