Remove stray diagnostics. When will I learn?
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 28 Apr 2001 15:33:48 +0000 (15:33 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 28 Apr 2001 15:33:48 +0000 (15:33 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@1088 cda61777-01e9-0310-a592-d414129be87e

terminal.c

index 42f8de1..731bc1f 100644 (file)
@@ -205,11 +205,7 @@ unsigned long *lineptr(int y, int lineno) {
     line = index234(whichtree, treeindex);
 
     /* We assume that we don't screw up and retrieve something out of range. */
-if (line == NULL) {
-debug(("line=%d y=%d treeindex=%d\n", lineno, y, treeindex));
-debug(("screen:%d scrollback:%d\n", count234(screen), count234(scrollback)));
     assert(line != NULL);
-}
 
     if (line[0] != cols) {
        /*
@@ -381,8 +377,6 @@ void term_size(int newrows, int newcols, int newsavelines) {
      *    away.
      */
     sblen = count234(scrollback);
-    debug(("resizing rows=%d sblen=%d newrows=%d newsb=%d\n",
-          rows, sblen, newrows, newsavelines));
     if (newrows > rows) {
        for (i = rows; i < newrows; i++) {
            if (sblen > 0) {
@@ -408,7 +402,6 @@ void term_size(int newrows, int newcols, int newsavelines) {
        sblen--;
     }
     assert(count234(scrollback) <= newsavelines);
-    debug(("screen:%d scrollback:%d\n", count234(screen), count234(scrollback)));
     disptop = 0;
 
     newdisp = smalloc (newrows*(newcols+1)*TSIZE);