diff options
author | John Ankarström <john@ankarstrom.se> | 2022-02-14 23:17:44 +0100 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-02-14 23:17:44 +0100 |
commit | dbf1e3bf11c74b93c42336000a42a73c7515d7a3 (patch) | |
tree | 2938e91dec1cf276eeb8c4084dcc27a77943b62a /win.c | |
parent | f39d414332e15c6406951f7684ef4b5ada7e7414 (diff) | |
download | EpisodeBrowser-dbf1e3bf11c74b93c42336000a42a73c7515d7a3.tar.gz |
Stop command prompt from appearing.
Diffstat (limited to 'win.c')
-rw-r--r-- | win.c | 21 |
1 files changed, 1 insertions, 20 deletions
@@ -11,7 +11,7 @@ HFONT g_GUIFont; HFONT g_GUIFontBold; -int g_SelectedItem = -1; +int g_SelectedItem = -1; /* Remembered after refresh. */ static LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); static INT_PTR CALLBACK AboutDlgProc(HWND, UINT, WPARAM, LPARAM); @@ -27,25 +27,6 @@ static void UpdateList(HWND); static void ShowEpisode(HWND, int); static int Watched(int); -/* -int main(int argc, char *argv[]) -{ - char *rgArgs[2]; - - rgArgs[0] = "episode_browser"; - rgArgs[1] = NULL; - - if (!PL_initialise(1, rgArgs)) - PL_halt(1); - - Attach(); - //UpdateList(); - //ShowEpisode(400); - - PL_halt(0); -} -*/ - int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, INT nCmdShow) |