minor (2.26 release) cleanup

This commit is contained in:
2003-02-04 12:30:52 +00:00
parent ebf92515c0
commit b133cb7c8b
2 changed files with 2 additions and 7 deletions

View File

@@ -56,7 +56,7 @@
int IMB_ispic(char *name) int IMB_ispic(char *name)
{ {
struct stat st; struct stat st;
int fp, buf[64]; int fp, buf[16];
int ofs = 0; int ofs = 0;
if (ib_stat(name,&st) == -1) return(0); if (ib_stat(name,&st) == -1) return(0);

View File

@@ -562,12 +562,7 @@ void drawtextspace(void)
if(st->showlinenrs) { if(st->showlinenrs) {
cpack(C_DERK); cpack(C_DERK);
//weird bug where glRect draws one pixel off when window is fullscreen glRecti(23, 0, (st->lheight==15)?63:59, curarea->winy - 2);
//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);
} }
glColor3f(0.0, 0.0, 0.0); glColor3f(0.0, 0.0, 0.0);