From ddeb18541f3200ccb703af94a2d91e5301b55c3e Mon Sep 17 00:00:00 2001 From: Diederick Niehorster Date: Tue, 19 Mar 2013 16:34:21 +0000 Subject: [PATCH] normalizing line endings.. git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1565 7f0cb862-5218-0410-a997-914c9d46530a --- progs/demos/Resizer/Resizer.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/progs/demos/Resizer/Resizer.cpp b/progs/demos/Resizer/Resizer.cpp index 2835022..57fce0b 100644 --- a/progs/demos/Resizer/Resizer.cpp +++ b/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); } -- 1.7.10.4