diff --git a/freeglut/freeglut/progs/demos/Resizer/Resizer.cpp b/freeglut/freeglut/progs/demos/Resizer/Resizer.cpp index 2835022..57fce0b 100644 --- a/freeglut/freeglut/progs/demos/Resizer/Resizer.cpp +++ b/freeglut/freeglut/progs/demos/Resizer/Resizer.cpp @@ -229,9 +229,9 @@ void Redisplay(void) glutPostWindowRedisplay(win); } -void Timer(int unused) -{ - int win = glutGetWindow(); +void Timer(int unused) +{ + int win = glutGetWindow(); int border, caption; nPosX = glutGet(GLUT_WINDOW_X); @@ -260,10 +260,10 @@ void Timer(int unused) else printf("child window %dx%d, top-left of client at: (%d,%d), relative to parent\n", nWidth, nHeight, - nPosX ,nPosY); - - /* (re)set the timer callback and ask glut to call it in 500 ms */ - glutTimerFunc(500, Timer, 0); + nPosX ,nPosY); + + /* (re)set the timer callback and ask glut to call it in 500 ms */ + glutTimerFunc(500, Timer, 0); }