diff options
-rw-r--r-- | source/blender/imbuf/intern/util.c | 2 | ||||
-rw-r--r-- | source/blender/src/drawtext.c | 7 |
2 files changed, 2 insertions, 7 deletions
diff --git a/source/blender/imbuf/intern/util.c b/source/blender/imbuf/intern/util.c index 6f6684489cb..e1abc273076 100644 --- a/source/blender/imbuf/intern/util.c +++ b/source/blender/imbuf/intern/util.c @@ -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); diff --git a/source/blender/src/drawtext.c b/source/blender/src/drawtext.c index b738e251a46..42caba1c3f6 100644 --- a/source/blender/src/drawtext.c +++ b/source/blender/src/drawtext.c @@ -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); |