* Stu's changes (which he checked in without making any ChangeLog comments,
authorArt Cancro <ajc@citadel.org>
Fri, 15 Feb 2002 03:40:06 +0000 (03:40 +0000)
committerArt Cancro <ajc@citadel.org>
Fri, 15 Feb 2002 03:40:06 +0000 (03:40 +0000)
  bad Stu!) didn't build properly without curses.  Added #ifdef's.

citadel/ChangeLog
citadel/screen.c

index bbab50b7fdbe45388b8dd5ff651c9deba29d2fab..ad83d1f9874133e8a320a8788268f5978ffd47ea 100644 (file)
@@ -1,4 +1,8 @@
  $Log$
+ Revision 590.113  2002/02/15 03:40:06  ajc
+ * Stu's changes (which he checked in without making any ChangeLog comments,
+   bad Stu!) didn't build properly without curses.  Added #ifdef's.
+
  Revision 590.112  2002/02/13 22:15:10  ajc
  * That was stupid.
 
@@ -3340,4 +3344,3 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import 
-
index 202cdd1c6e5230e139a178516736c6cf5903ce4e..3d8f7766b87db268c50a450377b7d5892cc1b536 100644 (file)
@@ -276,9 +276,11 @@ int scr_getc(void)
 #endif
        return getchar();
 }
+
 int scr_blockread(void)
   {
-    int a;
+    int a = 0;
+#ifdef HAVE_CURSES_H
     wtimeout(mainwindow, S_KEEPALIVE); 
     while (1)
       {
@@ -288,6 +290,7 @@ int scr_blockread(void)
           break;
         /* a = scr_getc(); */
       }
+#endif
     return a;
   }