summaryrefslogtreecommitdiff
path: root/src/main-win.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-06-28 11:16:30 +0200
committerBardur Arantsson <bardur@scientician.net>2012-06-28 11:21:03 +0200
commitd37a1238a94362ebfdebfdc3daf662cd3ba714af (patch)
treed886275e6a6009114a67ae4f7bb3132e3cb3fdd9 /src/main-win.c
parentf9ff5f7b2be06310695c08d9ee16650b5d54f414 (diff)
Remove #if 0'd code
Diffstat (limited to 'src/main-win.c')
-rw-r--r--src/main-win.c37
1 files changed, 0 insertions, 37 deletions
diff --git a/src/main-win.c b/src/main-win.c
index a618de96..2d740034 100644
--- a/src/main-win.c
+++ b/src/main-win.c
@@ -1444,28 +1444,6 @@ static void term_data_redraw(term_data *td)
/*** Function hooks needed by "Term" ***/
-#if 0
-
-/*
- * Initialize a new Term
- */
-static void Term_init_win(term *t)
-{
- /* XXX Unused */
-}
-
-
-/*
- * Nuke an old Term
- */
-static void Term_nuke_win(term *t)
-{
- /* XXX Unused */
-}
-
-#endif
-
-
/*
* Interact with the User
*/
@@ -2247,12 +2225,6 @@ static void term_data_link(term_data *td)
t->attr_blank = TERM_WHITE;
t->char_blank = ' ';
-#if 0
- /* Prepare the init/nuke hooks */
- t->init_hook = Term_init_win;
- t->nuke_hook = Term_nuke_win;
-#endif
-
/* Prepare the template hooks */
t->user_hook = Term_user_win;
t->xtra_hook = Term_xtra_win;
@@ -3726,15 +3698,6 @@ WPARAM wParam, LPARAM lParam)
return 0;
}
-#if 0
- case WM_ACTIVATE:
- {
- if (LOWORD(wParam) == WA_INACTIVE) break;
-
- /* else fall through */
- }
-#endif
-
case WM_LBUTTONDOWN:
case WM_MBUTTONDOWN:
case WM_RBUTTONDOWN: