- removed debug prints that had no meaning to most people
authorDaniel Dunbar <daniel@zuster.org>
Tue, 4 May 2004 19:13:35 +0000 (19:13 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 4 May 2004 19:13:35 +0000 (19:13 +0000)
 - zr: you lazy developer, you shouldn't commit code that has debug prints
     in it. you ruined my life!!!!

source/blender/src/ghostwinlay.c

index 0cb396d25cbfe0afd955fab98626869ff3ceb94c..c04fdf095ba58964aa1fe9eac47b3ea6f33bf776 100644 (file)
@@ -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);