constified SDL_RegisterApp()

This commit is contained in:
Ozkan Sezer
2021-11-14 04:40:50 +03:00
parent 7dfd22ac5e
commit 8a6e48d46d
3 changed files with 3 additions and 3 deletions

View File

@@ -1542,7 +1542,7 @@ HINSTANCE SDL_Instance = NULL;
/* Register the class for this application */
int
SDL_RegisterApp(char *name, Uint32 style, void *hInst)
SDL_RegisterApp(const char *name, Uint32 style, void *hInst)
{
const char *hint;
WNDCLASSEX wcex;