aboutsummaryrefslogtreecommitdiff
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
parent935fbb1e9c3853570399979eef402382d211ef4c (diff)
downloadEpisodeBrowser-56d4f25db9cedb5b45a731ce2db004fb03ccc001.tar.gz
Change window class and executable name
-rw-r--r--Makefile6
-rw-r--r--Run.bat2
-rw-r--r--c/main.c6
3 files changed, 7 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 6155f90..f6daea5 100644
--- a/Makefile
+++ b/Makefile
@@ -14,9 +14,9 @@ else
CFLAGS += -O2 -ld-options,-mwindows
endif
-all: episode_browser.exe
+all: EpisodeBrowser.exe
-episode_browser.exe: $(C) $(OBJ) $(PL) $(R)c/defs.h $(R)Makefile
+EpisodeBrowser.exe: $(C) $(OBJ) $(PL) $(R)c/defs.h $(R)Makefile
$(CC) -v $(CFLAGS) $(LDFLAGS) -goal true -o $@ $(C) $(OBJ) $(PL)
resource.obj: $(R)c/resource.h $(R)c/resource.rc
@@ -26,4 +26,4 @@ resource.obj: $(R)c/resource.h $(R)c/resource.rc
$(CC) -c $(CFLAGS) -o $@ $<
clean:
- rm -fr episode_browser.exe *.obj
+ rm -fr EpisodeBrowser.exe *.obj
diff --git a/Run.bat b/Run.bat
index e691d7e..6fce8d8 100644
--- a/Run.bat
+++ b/Run.bat
@@ -1,4 +1,4 @@
@cd %~dp0\build\default
@make -f ../../Makefile || pause && exit
@cd %TEMP%
-@%~dp0\build\default\episode_browser.exe \ No newline at end of file
+@%~dp0\build\default\EpisodeBrowser.exe \ No newline at end of file
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,