From 2dc54b0fcc56ae79cd4e157af0661d3e8b6852d5 Mon Sep 17 00:00:00 2001 From: Matt Birkholz Date: Wed, 29 May 2013 15:56:48 -0700 Subject: [PATCH] Revert tterm.c changes. tterm.c is not used when not USE_TERMCAP, so these old changes are unnecessary... and potentially confusing. --- src/microcode/tterm.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/microcode/tterm.c b/src/microcode/tterm.c index e6527faff..c9d969c96 100644 --- a/src/microcode/tterm.c +++ b/src/microcode/tterm.c @@ -102,23 +102,15 @@ DEFINE_PRIMITIVE ("TERMCAP-GET-NUMBER", Prim_termcap_get_number, 1, 1, 0) { PRIMITIVE_HEADER (1); { -#ifdef USE_TERMCAP int result = (tgetnum (STRING_ARG (1))); PRIMITIVE_RETURN ((result < 0) ? SHARP_F : (long_to_integer (result))); -#else - PRIMITIVE_RETURN (SHARP_F); -#endif } } DEFINE_PRIMITIVE ("TERMCAP-GET-FLAG", Prim_termcap_get_flag, 1, 1, 0) { PRIMITIVE_HEADER (1); -#ifdef USE_TERMCAP PRIMITIVE_RETURN (BOOLEAN_TO_OBJECT ((tgetflag (STRING_ARG (1))) != 0)); -#else - PRIMITIVE_RETURN (SHARP_F); -#endif } DEFINE_PRIMITIVE ("TERMCAP-GET-STRING", Prim_termcap_get_string, 1, 1, 0) -- 2.25.1