From: Diederick Niehorster Date: Thu, 8 Mar 2012 02:23:21 +0000 (+0000) Subject: just a bit of formatting, mostly to test out my SVN commit access X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=0250fb33f917a972ed66e0ae60f63e22c84c63d6;p=freeglut just a bit of formatting, mostly to test out my SVN commit access git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1081 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/src/mswin/freeglut_internal_mswin.h b/src/mswin/freeglut_internal_mswin.h index d39d359..26a8551 100644 --- a/src/mswin/freeglut_internal_mswin.h +++ b/src/mswin/freeglut_internal_mswin.h @@ -34,16 +34,16 @@ * compatibility. */ #if !defined(_WIN32_WCE) -# include -# include -# include +# include +# include +# include /* CYGWIN does not have tchar.h, but has TEXT(x), defined in winnt.h. */ -# ifndef __CYGWIN__ -# include -# else -# define _TEXT(x) TEXT(x) -# define _T(x) TEXT(x) -# endif +# ifndef __CYGWIN__ +# include +# else +# define _TEXT(x) TEXT(x) +# define _T(x) TEXT(x) +# endif #endif @@ -54,11 +54,11 @@ #if !defined(ChangeDisplaySettingsEx) LONG WINAPI ChangeDisplaySettingsExA(LPCSTR,LPDEVMODEA,HWND,DWORD,LPVOID); LONG WINAPI ChangeDisplaySettingsExW(LPCWSTR,LPDEVMODEW,HWND,DWORD,LPVOID); -# ifdef UNICODE -# define ChangeDisplaySettingsEx ChangeDisplaySettingsExW -# else -# define ChangeDisplaySettingsEx ChangeDisplaySettingsExA -# endif +# ifdef UNICODE +# define ChangeDisplaySettingsEx ChangeDisplaySettingsExW +# else +# define ChangeDisplaySettingsEx ChangeDisplaySettingsExA +# endif #endif @@ -76,12 +76,12 @@ struct tagSFG_PlatformDisplay * Make "freeglut" window handle and context types so that we don't need so * much conditionally-compiled code later in the library. */ -typedef HWND SFG_WindowHandleType ; -typedef HGLRC SFG_WindowContextType ; +typedef HWND SFG_WindowHandleType; +typedef HGLRC SFG_WindowContextType; typedef struct tagSFG_PlatformContext SFG_PlatformContext; struct tagSFG_PlatformContext { - HDC Device; /* The window's device context */ + HDC Device; /* The window's device context */ }; @@ -109,14 +109,14 @@ extern int XParseGeometry ( const char *string, int *x, int *y, - unsigned int *width, /* RETURN */ + unsigned int *width, /* RETURN */ unsigned int *height); /* RETURN */ /* Joystick-Specific Definitions */ #if !defined(_WIN32_WCE) -# define _JS_MAX_AXES 8 +# define _JS_MAX_AXES 8 typedef struct tagSFG_PlatformJoystick SFG_PlatformJoystick; struct tagSFG_PlatformJoystick {