Author: greg.ercolano
Date: 2010-10-10 18:41:50 -0700 (Sun, 10 Oct 2010)
New Revision: 7712
Log:
gets() -> fgets()


Modified:
   branches/branch-1.3/test/button.cxx

Modified: branches/branch-1.3/test/button.cxx
===================================================================
--- branches/branch-1.3/test/button.cxx 2010-10-09 01:31:38 UTC (rev 7711)
+++ branches/branch-1.3/test/button.cxx 2010-10-11 01:41:50 UTC (rev 7712)
@@ -43,7 +43,7 @@
 // test Fl::add_fd()...
 void stdin_cb(int, void*) {
   char buf[1000];
-  gets(buf);
+  fgets(buf, sizeof(buf), stdin);
   printf("stdin callback\n");
 }
 #endif

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to