fixed a printf format specifier (was %i instead of %lu while printing an unsigned long)

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1708 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
jtsiomb 2014-10-11 17:20:19 +00:00
parent c1e80f3ddf
commit ff3e93d95c

View File

@ -362,7 +362,7 @@ void fgPlatformOpenWindow( SFG_Window* window, const char* title,
MotifWmHints hints = {0}; MotifWmHints hints = {0};
hints.flags = MWM_HINTS_DECORATIONS; hints.flags = MWM_HINTS_DECORATIONS;
hints.decorations = (fgState.DisplayMode & GLUT_CAPTIONLESS) ? MWM_DECOR_BORDER:0; hints.decorations = (fgState.DisplayMode & GLUT_CAPTIONLESS) ? MWM_DECOR_BORDER:0;
printf("%i\n",hints.decorations); printf("%lu\n", hints.decorations);
XChangeProperty(fgDisplay.pDisplay.Display, window->Window.Handle, XChangeProperty(fgDisplay.pDisplay.Display, window->Window.Handle,
XInternAtom( fgDisplay.pDisplay.Display, "_MOTIF_WM_HINTS", False ), XInternAtom( fgDisplay.pDisplay.Display, "_MOTIF_WM_HINTS", False ),