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:
authorDaniel Dunbar <daniel@zuster.org>2004-05-04 23:13:35 +0400
committerDaniel Dunbar <daniel@zuster.org>2004-05-04 23:13:35 +0400
commit14a46b70d39c50adda0f576f7af695510aa2779f (patch)
tree3213c4367b65db608e4dcf245dfd2113c8c12b42 /source/blender
parent400cd96effacc007b4b445cffc34884d718dafed (diff)
- removed debug prints that had no meaning to most people
- zr: you lazy developer, you shouldn't commit code that has debug prints in it. you ruined my life!!!!
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/src/ghostwinlay.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/src/ghostwinlay.c b/source/blender/src/ghostwinlay.c
index 0cb396d25cb..c04fdf095ba 100644
--- a/source/blender/src/ghostwinlay.c
+++ b/source/blender/src/ghostwinlay.c
@@ -237,10 +237,6 @@ Window *window_open(char *title, int posx, int posy, int sizex, int sizey, int s
int scr_w, scr_h;
winlay_get_screensize(&scr_w, &scr_h);
- if(G.f & G_DEBUG) {
- printf("screen size %d %d\n", scr_w, scr_h);
- printf("win start %d %d size %d %d\n", posx, posy, sizex, sizey);
- }
posy= (scr_h-posy-sizey);
/* create a fullscreen window on unix by default*/
@@ -404,10 +400,14 @@ static int event_proc(GHOST_EventHandle evt, GHOST_TUserDataPtr private)
Window *win;
if (!ghostwin) {
- printf("GHOST event error - no window - type: %d\n", type);
+ // XXX - should be checked, why are we getting an event here, and
+ // what is it?
+
return 1;
} else if (!GHOST_ValidWindow(g_system, ghostwin)) {
- printf("GHOST event error - invalid window - win: %p\n", ghostwin);
+ // XXX - should be checked, why are we getting an event here, and
+ // what is it?
+
return 1;
} else {
win= GHOST_GetWindowUserData(ghostwin);