Navigation Menu

Skip to content

Commit

Permalink
Removed carriage returns from previous patch
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Oct 1, 2016
1 parent 7b0ccd3 commit f4b26cd
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions src/video/windows/SDL_windowsevents.c
Expand Up @@ -1077,23 +1077,23 @@ SDL_RegisterApp(char *name, Uint32 style, void *hInst)
}

/* Register the application class */
wcex.cbSize = sizeof(WNDCLASSEX);
wcex.hCursor = NULL;
wcex.hIcon = NULL;
wcex.hIconSm = NULL;
wcex.lpszMenuName = NULL;
wcex.lpszClassName = SDL_Appname;
wcex.style = SDL_Appstyle;
wcex.hbrBackground = NULL;
wcex.lpfnWndProc = WIN_WindowProc;
wcex.hInstance = SDL_Instance;
wcex.cbClsExtra = 0;
wcex.cbWndExtra = 0;

/* Use the first icon as a default icon, like in the Explorer */
GetModuleFileName(SDL_Instance, path, MAX_PATH);
ExtractIconEx(path, 0, &wcex.hIcon, &wcex.hIconSm, 1);

wcex.cbSize = sizeof(WNDCLASSEX);
wcex.hCursor = NULL;
wcex.hIcon = NULL;
wcex.hIconSm = NULL;
wcex.lpszMenuName = NULL;
wcex.lpszClassName = SDL_Appname;
wcex.style = SDL_Appstyle;
wcex.hbrBackground = NULL;
wcex.lpfnWndProc = WIN_WindowProc;
wcex.hInstance = SDL_Instance;
wcex.cbClsExtra = 0;
wcex.cbWndExtra = 0;

/* Use the first icon as a default icon, like in the Explorer */
GetModuleFileName(SDL_Instance, path, MAX_PATH);
ExtractIconEx(path, 0, &wcex.hIcon, &wcex.hIconSm, 1);

if (!RegisterClassEx(&wcex)) {
return SDL_SetError("Couldn't register application class");
}
Expand Down

0 comments on commit f4b26cd

Please sign in to comment.