Browse Source

Corrected compiler complaint

raysan5 9 years ago
parent
commit
83459159f4
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/gestures.c
  2. 1 1
      src/makefile

+ 1 - 1
src/gestures.c

@@ -184,7 +184,7 @@ void ProcessGestureEvent(GestureEvent event)
         }
         }
         else if (event.touchAction == TOUCH_MOVE)
         else if (event.touchAction == TOUCH_MOVE)
         {
         {
-            if ((currentGesture == GESTURE_DRAG)) eventTime = GetCurrentTime();
+            if (currentGesture == GESTURE_DRAG) eventTime = GetCurrentTime();
             
             
             if (!startMoving)
             if (!startMoving)
             {
             {

+ 1 - 1
src/makefile

@@ -94,7 +94,7 @@ endif
 ifeq ($(PLATFORM),PLATFORM_DESKTOP)
 ifeq ($(PLATFORM),PLATFORM_DESKTOP)
     OBJS = core.o rlgl.o glad.o shapes.o text.o textures.o models.o audio.o utils.o camera.o gestures.o stb_vorbis.o
     OBJS = core.o rlgl.o glad.o shapes.o text.o textures.o models.o audio.o utils.o camera.o gestures.o stb_vorbis.o
 else
 else
-	#GLAD only required on desktop platform
+    #GLAD only required on desktop platform
     OBJS = core.o rlgl.o shapes.o text.o textures.o models.o audio.o stb_vorbis.o utils.o camera.o gestures.o
     OBJS = core.o rlgl.o shapes.o text.o textures.o models.o audio.o stb_vorbis.o utils.o camera.o gestures.o
 endif
 endif