Browse Source

Use single line comment format

Sam Lantinga 1 year ago
parent
commit
dc13c08375
1 changed files with 1 additions and 1 deletions
  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;