From: <dc...@us...> - 2012-07-26 15:11:48
|
Revision: 1374 http://freeglut.svn.sourceforge.net/freeglut/?rev=1374&view=rev Author: dcnieho Date: 2012-07-26 15:11:37 +0000 (Thu, 26 Jul 2012) Log Message: ----------- little bit of cleanup and extra comments Modified Paths: -------------- trunk/freeglut/freeglut/progs/demos/CallbackMaker/CallbackMaker.c trunk/freeglut/freeglut/src/mswin/fg_window_mswin.c Modified: trunk/freeglut/freeglut/progs/demos/CallbackMaker/CallbackMaker.c =================================================================== --- trunk/freeglut/freeglut/progs/demos/CallbackMaker/CallbackMaker.c 2012-07-24 17:43:12 UTC (rev 1373) +++ trunk/freeglut/freeglut/progs/demos/CallbackMaker/CallbackMaker.c 2012-07-26 15:11:37 UTC (rev 1374) @@ -30,6 +30,8 @@ int motion_x = -1, motion_y = -1, motion_seq = -1 ; int passivemotion_x = -1, passivemotion_y = -1, passivemotion_seq = -1 ; +#define STRING_LENGTH 10 + static void bitmapPrintf (const char *fmt, ...) { @@ -143,7 +145,6 @@ static void Error(const char *fmt, va_list ap) { -#define STRING_LENGTH 10 char dummy_string[STRING_LENGTH]; printf("%6d Error callback:\n"); @@ -464,7 +465,6 @@ int main(int argc, char *argv[]) { -#define STRING_LENGTH 10 int freeglut_window, aux_window ; char dummy_string[STRING_LENGTH]; Modified: trunk/freeglut/freeglut/src/mswin/fg_window_mswin.c =================================================================== --- trunk/freeglut/freeglut/src/mswin/fg_window_mswin.c 2012-07-24 17:43:12 UTC (rev 1373) +++ trunk/freeglut/freeglut/src/mswin/fg_window_mswin.c 2012-07-26 15:11:37 UTC (rev 1374) @@ -888,6 +888,8 @@ /* * Set the current window's iconified title + * There really isn't a way to set the icon name separate from the + * windows name in Win32, so, just set the windows name. */ void fgPlatformGlutSetIconTitle( const char* title ) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |