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:
authorTon Roosendaal <ton@blender.org>2004-10-12 20:10:12 +0400
committerTon Roosendaal <ton@blender.org>2004-10-12 20:10:12 +0400
commit35a4e078a70755a03d606d6e99aeb6663d3ae014 (patch)
tree6cea6cd8162d204d0b20e0a07ff2dde9836a2522 /source/blender
parent5ae1191a12929240d6f0b38e83ebfa0f72c5fa94 (diff)
Swapped 1 line of code, missed the declaration in the subloop...
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/src/editscreen.c4
-rw-r--r--source/blender/src/swapbuffers.c1
2 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/src/editscreen.c b/source/blender/src/editscreen.c
index 96b0b6f803c..858d2ddf115 100644
--- a/source/blender/src/editscreen.c
+++ b/source/blender/src/editscreen.c
@@ -1644,11 +1644,11 @@ static void testareas(void)
sa= G.curscreen->areabase.first;
while(sa) {
- next= sa->next;
-
rcti oldhr= sa->headrct;
rcti oldwr= sa->winrct;
+ next= sa->next;
+
calc_arearcts(sa);
/* ilegally scaled down area.... */
diff --git a/source/blender/src/swapbuffers.c b/source/blender/src/swapbuffers.c
index e0ae0e14632..1a696747290 100644
--- a/source/blender/src/swapbuffers.c
+++ b/source/blender/src/swapbuffers.c
@@ -169,7 +169,6 @@ static void draw_debug_win(int win)
glColor3ub(0, 0, 0);
glRasterPos2i(5, 5);
- printf("win: %d - (%d, %d, %d, %d) %d\n", win, x, y, w, h, drawcounter++);
sprintf(buf, "win: %d - (%d, %d, %d, %d) %d\n", win, x, y, w, h, drawcounter++);
BMF_DrawString(G.font, buf);
}