Просмотр исходного кода

Use single line comment format

Sam Lantinga 1 год назад
Родитель
Сommit
dc13c08375
1 измененных файлов с 1 добавлено и 1 удалено
  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;
     }
 
-    /* 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));
     if (!fingers) {
         return NULL;