Added FREEGLUT_VERSION_1_3.
[freeglut] / freeglut-1.3 / freeglut_cursor.c
index 53ce750..9d519c0 100644 (file)
@@ -32,7 +32,7 @@
 #define  G_LOG_DOMAIN  "freeglut-cursor"
 
 #include "../include/GL/freeglut.h"
-#include "../include/GL/freeglut_internal.h"
+#include "freeglut_internal.h"
 
 #if TARGET_HOST_UNIX_X11
     #include <X11/cursorfont.h>
@@ -111,11 +111,11 @@ void FGAPIENTRY glutSetCursor( int cursorID )
        /*
         * This is a temporary solution only...
         */
-       // Set the cursor AND change it for this window class. 
+       /* Set the cursor AND change it for this window class. */
 #      define MAP_CURSOR(a,b) case a: SetCursor( LoadCursor( NULL, b ) ); \
         SetClassLong(fgStructure.Window->Window.Handle,GCL_HCURSOR,(LONG)LoadCursor(NULL,b)); \
         break;
-       // Nuke the cursor AND change it for this window class. 
+       /* Nuke the cursor AND change it for this window class. */
 #      define ZAP_CURSOR(a,b) case a: SetCursor( NULL ); \
         SetClassLong(fgStructure.Window->Window.Handle,GCL_HCURSOR,(LONG)NULL); \
         break;
@@ -132,7 +132,7 @@ void FGAPIENTRY glutSetCursor( int cursorID )
                MAP_CURSOR( GLUT_CURSOR_WAIT,            IDC_WAIT      );
                MAP_CURSOR( GLUT_CURSOR_TEXT,        IDC_UPARROW   );
                MAP_CURSOR( GLUT_CURSOR_CROSSHAIR,   IDC_CROSS     );
-               //MAP_CURSOR( GLUT_CURSOR_NONE,        IDC_NO              );
+               /* MAP_CURSOR( GLUT_CURSOR_NONE,        IDC_NO             ); */
                ZAP_CURSOR( GLUT_CURSOR_NONE,        NULL          );
 
                default: