minor (2.26 release) cleanup
authorRob Haarsma <phaseIV@zonnet.nl>
Tue, 4 Feb 2003 12:30:52 +0000 (12:30 +0000)
committerRob Haarsma <phaseIV@zonnet.nl>
Tue, 4 Feb 2003 12:30:52 +0000 (12:30 +0000)
source/blender/imbuf/intern/util.c
source/blender/src/drawtext.c

index 6f6684489cb32dab7f09e2ccb5184ee4e4815c42..e1abc273076c7dd863940b71017e8d23ec82a059 100644 (file)
@@ -56,7 +56,7 @@
 int IMB_ispic(char *name)
 {
        struct stat st;
-       int fp, buf[64];
+       int fp, buf[16];
        int ofs = 0;
        
        if (ib_stat(name,&st) == -1) return(0);
index b738e251a46dd757c6738268715ae46e30541318..42caba1c3f6da3be5ef8eeeadd4f64c86c78319d 100644 (file)
@@ -562,12 +562,7 @@ void drawtextspace(void)
        
        if(st->showlinenrs) {
                cpack(C_DERK);
-//weird bug where glRect draws one pixel off when window is fullscreen
-//nvidia related !!!
-//             if(curarea->full)
-//                     glRecti(23,  0, (st->lheight==15)?63:59,  curarea->winy - 2);
-//             else
-                       glRecti(24,  0, (st->lheight==15)?64:60,  curarea->winy - 2);
+               glRecti(23,  0, (st->lheight==15)?63:59,  curarea->winy - 2);
        }
 
        glColor3f(0.0, 0.0, 0.0);