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

properties: Fixed a typo in a comment.

(cherry picked from commit 5b5713b9555b9a5409124f7650be2c0f6e816d0f)
Ryan C. Gordon 2 месяцев назад
Родитель
Сommit
758dab45af
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/SDL_properties.c

+ 1 - 1
src/SDL_properties.c

@@ -844,7 +844,7 @@ void SDL_DestroyProperties(SDL_PropertiesID props)
 {
     if (props) {
         // this can't just use RemoveFromHashTable with SDL_FreeProperties as the destructor, because
-        //  other destructors under this might cause use to attempt a recursive lock on SDL_properties,
+        //  other destructors under this might cause us to attempt a recursive lock on SDL_properties,
         //  which isn't allowed with rwlocks. So manually look it up and remove/free it.
         SDL_Properties *properties = NULL;
         if (SDL_FindInHashTable(SDL_properties, (const void *)(uintptr_t)props, (const void **)&properties)) {