Explorar el Código

Corrected compiler complaint

raysan5 hace 9 años
padre
commit
83459159f4
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  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)
         {
-            if ((currentGesture == GESTURE_DRAG)) eventTime = GetCurrentTime();
+            if (currentGesture == GESTURE_DRAG) eventTime = GetCurrentTime();
             
             if (!startMoving)
             {

+ 1 - 1
src/makefile

@@ -94,7 +94,7 @@ endif
 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
 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
 endif