aboutsummaryrefslogtreecommitdiff
path: root/c/main.c
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-03-02 18:41:39 +0100
committerJohn Ankarström <john@ankarstrom.se>2022-03-02 18:41:39 +0100
commit56d4f25db9cedb5b45a731ce2db004fb03ccc001 (patch)
tree3757fcea7ade0081cb9d563ca9b6b7eef3c3ff81 /c/main.c
parent935fbb1e9c3853570399979eef402382d211ef4c (diff)
downloadEpisodeBrowser-56d4f25db9cedb5b45a731ce2db004fb03ccc001.tar.gz
Change window class and executable name
Diffstat (limited to 'c/main.c')
-rw-r--r--c/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/c/main.c b/c/main.c
index e0e4858..3dd5eb7 100644
--- a/c/main.c
+++ b/c/main.c
@@ -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,