diff options
author | John Ankarström <john@ankarstrom.se> | 2022-03-02 18:41:39 +0100 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-03-02 18:41:39 +0100 |
commit | 56d4f25db9cedb5b45a731ce2db004fb03ccc001 (patch) | |
tree | 3757fcea7ade0081cb9d563ca9b6b7eef3c3ff81 /c | |
parent | 935fbb1e9c3853570399979eef402382d211ef4c (diff) | |
download | EpisodeBrowser-56d4f25db9cedb5b45a731ce2db004fb03ccc001.tar.gz |
Change window class and executable name
Diffstat (limited to 'c')
-rw-r--r-- | c/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -29,7 +29,7 @@ WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, /* Initialize Prolog. */ - rgArgs[0] = "episode_browser"; + rgArgs[0] = "EpisodeBrowser"; rgArgs[1] = NULL; tszErr = TEXT("Could not initialize Prolog."); if (!PL_initialise(1, rgArgs)) goto f; @@ -55,14 +55,14 @@ WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, wc.hCursor = LoadCursor(NULL, IDC_ARROW); wc.hbrBackground = (HBRUSH)(COLOR_WINDOW+1); wc.lpszMenuName = MAKEINTRESOURCE(IDR_MENU); - wc.lpszClassName = TEXT("Episode Browser"); + wc.lpszClassName = TEXT("EpisodeBrowser"); wc.hIconSm = LoadIcon(NULL, IDI_APPLICATION); tszErr = TEXT("Could not register window class."); if (!RegisterClassEx(&wc)) goto f; hWnd = CreateWindowEx( 0, - TEXT("Episode Browser"), + TEXT("EpisodeBrowser"), TEXT("Episode Browser"), WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, CW_USEDEFAULT, 510, 400, |