]> diplodocus.org Git - nmh/blobdiff - sbr/terminal.c
Improve these comments a bit.
[nmh] / sbr / terminal.c
index 89d0dafc99f07ceb8de39d263cb84817b607b734..5ba6dcd115dceb695a5de794812283aedb6283d3 100644 (file)
 #include <h/mh.h>
 #include <h/utils.h>
 
 #include <h/mh.h>
 #include <h/utils.h>
 
-#include <termios.h>
 #include <sys/ioctl.h>
 
 #include <curses.h>
 #include <term.h>
 #include <sys/ioctl.h>
 
 #include <curses.h>
 #include <term.h>
+#include <termios.h>
 
 #ifdef WINSIZE_IN_PTEM
 # include <sys/stream.h>
 
 #ifdef WINSIZE_IN_PTEM
 # include <sys/stream.h>
@@ -175,7 +175,7 @@ get_term_stringcap(char *capability)
 
     tputs(parm, 1, termbytes);
 
 
     tputs(parm, 1, termbytes);
 
-    termcbufp = '\0';
+    *termcbufp = '\0';
 
     return termcbuf;
 }
 
     return termcbuf;
 }
@@ -206,7 +206,7 @@ get_term_stringparm(char *capability, long arg1, long arg2)
 
     tputs(parm, 1, termbytes);
 
 
     tputs(parm, 1, termbytes);
 
-    termcbufp = '\0';
+    *termcbufp = '\0';
 
     return termcbuf;
 }
 
     return termcbuf;
 }