rosh: more remove unneeded check
authorGene Cumm <gene.cumm@gmail.com>
Mon, 5 Jul 2010 11:22:28 +0000 (07:22 -0400)
committerGene Cumm <gene.cumm@gmail.com>
Wed, 7 Jul 2010 14:03:25 +0000 (10:03 -0400)
com32/rosh/rosh.c

index ff8c9ac..801fbf5 100644 (file)
@@ -38,7 +38,7 @@
 #define APP_NAME       "rosh"
 #define APP_AUTHOR     "Gene Cumm"
 #define APP_YEAR       "2010"
-#define APP_VER                "beta-b067"
+#define APP_VER                "beta-b068"
 
 void rosh_version(void)
 {
@@ -806,7 +806,7 @@ void rosh_more_buf(char *buf, int buflen, int rows, int cols, char *scrbuf)
                /* If this will not push too much, use it */
                /* but if it's the first line, use it */
                /* //HERE: We should probably snip the line off */
-               if ((i < numln) || ((i == elpl) && (i >= numln)))
+               if ((i < numln) || (i == elpl))
                    bufeol = bufeol2 + 1;
            }
        }