aboutsummaryrefslogtreecommitdiff
path: root/win.c
diff options
context:
space:
mode:
Diffstat (limited to 'win.c')
-rw-r--r--win.c21
1 files changed, 1 insertions, 20 deletions
diff --git a/win.c b/win.c
index b7f79ae..e675f63 100644
--- a/win.c
+++ b/win.c
@@ -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)