summaryrefslogtreecommitdiff
path: root/src/z-term.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2011-02-19 17:09:03 +0100
committerBardur Arantsson <bardur@scientician.net>2011-02-19 19:32:06 +0100
commit946d101429a49b656ee37ad00a927787e2d463fd (patch)
tree99623edd7ad64502efbdefcc2ad1eaf693a062b2 /src/z-term.c
parent6a077f767bab67c5847e6ccf98513151462879a4 (diff)
Remove dead (#if 0) code.
Diffstat (limited to 'src/z-term.c')
-rw-r--r--src/z-term.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/z-term.c b/src/z-term.c
index b93d8470..1570b9b2 100644
--- a/src/z-term.c
+++ b/src/z-term.c
@@ -2300,18 +2300,6 @@ errr Term_redraw_section(int x1, int y1, int x2, int y2)
char *c_ptr;
-#if 0 // DGDGDGDG
- /* Pat */
- if ((do_movies == 1) && IN_MAINWINDOW)
- {
- if (!cmovie_get_msecond())
- {
- fprintf(movfile, "W:1:\n");
- }
- }
- /* Endpat */
-#endif
-
/* Bounds checking */
if (y2 >= Term->hgt) y2 = Term->hgt - 1;
if (x2 >= Term->wid) x2 = Term->wid - 1;
@@ -2455,11 +2443,6 @@ errr Term_keypress(int k)
/* Success (unless overflow) */
if (Term->key_head != Term->key_tail) return (0);
-#if 0
- /* Hack -- Forget the oldest key */
- if (++Term->key_tail == Term->key_size) Term->key_tail = 0;
-#endif
-
/* Problem */
return (1);
}
@@ -2482,11 +2465,6 @@ errr Term_key_push(int k)
/* Success (unless overflow) */
if (Term->key_head != Term->key_tail) return (0);
-#if 0
- /* Hack -- Forget the oldest key */
- if (++Term->key_tail == Term->key_size) Term->key_tail = 0;
-#endif
-
/* Problem */
return (1);
}