minor (2.26 release) cleanup
This commit is contained in:
@@ -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);
|
||||||
|
@@ -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);
|
||||||
|
Reference in New Issue
Block a user