Преглед на файлове

Corrected compiler complaint

raysan5 преди 9 години
родител
ревизия
83459159f4
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  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