Browse Source

core: Fixed incorrect comment in core/windows/SDL_windows.h.

Ryan C. Gordon 6 months ago
parent
commit
aa534c3ac3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/windows/SDL_windows.h

+ 1 - 1
src/core/windows/SDL_windows.h

@@ -119,7 +119,7 @@ extern "C" {
 // Sets an error message based on a given HRESULT
 extern bool WIN_SetErrorFromHRESULT(const char *prefix, HRESULT hr);
 
-// Sets an error message based on GetLastError(). Always return -1.
+// Sets an error message based on GetLastError(). Always returns false.
 extern bool WIN_SetError(const char *prefix);
 
 // Load a function from combase.dll