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