Procházet zdrojové kódy

Use single line comment format

Sam Lantinga před 1 rokem
rodič
revize
dc13c08375
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/events/SDL_touch.c

+ 1 - 1
src/events/SDL_touch.c

@@ -145,7 +145,7 @@ SDL_Finger **SDL_GetTouchFingers(SDL_TouchID touchID, int *count)
         return NULL;
         return NULL;
     }
     }
 
 
-    /* Create a snapshot of the current finger state */
+    // Create a snapshot of the current finger state
     fingers = (SDL_Finger **)SDL_malloc((touch->num_fingers + 1) * sizeof(*fingers) + touch->num_fingers * sizeof(**fingers));
     fingers = (SDL_Finger **)SDL_malloc((touch->num_fingers + 1) * sizeof(*fingers) + touch->num_fingers * sizeof(**fingers));
     if (!fingers) {
     if (!fingers) {
         return NULL;
         return NULL;