summaryrefslogtreecommitdiff
path: root/www/Mosaic/patches/patch-ag
blob: b2a9496b23f4e8f850a9e54976453722f94ed90f (plain)
1
2
3
4
5
6
7
8
9
10
11
--- ./src/gui.c.org	Tue Apr  9 21:47:32 1996
+++ ./src/gui.c	Tue Apr  9 22:01:26 1996
@@ -3623,7 +3623,7 @@
     return 0;
   else 
     {
-{char ans[10]; printf("Press RETURN\n"); gets(ans);}
+{char ans[10]; printf("Press RETURN\n"); fgets(ans, sizeof(ans), stdin);}
       /* All other errors are 'fatal'. */
       XGetErrorText (dsp, event->error_code, buf, 128);
       fprintf (stderr, "X Error: %s\n", buf);