Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Haarsma <phaseIV@zonnet.nl>2003-02-04 15:30:52 +0300
committerRob Haarsma <phaseIV@zonnet.nl>2003-02-04 15:30:52 +0300
commitb133cb7c8b2675791f036007b3242be69ce0d664 (patch)
treecec56fe14b216fc522798e0ff9725e86becf4a34
parentebf92515c070fff0fd56e0cb73d7142446544dc9 (diff)
minor (2.26 release) cleanup
-rw-r--r--source/blender/imbuf/intern/util.c2
-rw-r--r--source/blender/src/drawtext.c7
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);