OSDN Git Service

[Refacotr] #37353 使われていないプリプロSPECIAL_BSDを削除 / Removed unused preprocessors SPECIAL_BSD
authorHourier <hourier@users.sourceforge.jp>
Wed, 29 Jan 2020 11:54:54 +0000 (20:54 +0900)
committerHourier <hourier@users.sourceforge.jp>
Wed, 29 Jan 2020 11:54:54 +0000 (20:54 +0900)
src/h-config.h
src/main-gcu.c

index 25c7a61..130d4dc 100644 (file)
 
 
 /*
- * OPTION: define "SPECIAL_BSD" for using certain versions of UNIX
- * that use the 4.4BSD Lite version of Curses in "main-gcu.c"
- */
-/* #define SPECIAL_BSD */
-
-
-/*
  * OPTION: Use the POSIX "termios" methods in "main-gcu.c"
  */
 /* #define USE_TPOSIX */
index 8c11249..4846175 100644 (file)
@@ -659,13 +659,8 @@ static errr Term_xtra_gcu_alive(int v)
       /* Flush the curses buffer */
       (void)refresh();
 
-#ifdef SPECIAL_BSD
-      /* this moves curses to bottom right corner */
-      mvcur(curscr->cury, curscr->curx, LINES - 1, 0);
-#else
       /* this moves curses to bottom right corner */
       mvcur(getcury(curscr), getcurx(curscr), LINES - 1, 0);
-#endif
 
       /* Exit curses */
       endwin();
@@ -789,13 +784,8 @@ static void Term_nuke_gcu(term *t)
   start_color();
 #endif
 
-#ifdef SPECIAL_BSD
-   /* This moves curses to bottom right corner */
-   mvcur(curscr->cury, curscr->curx, LINES - 1, 0);
-#else
    /* This moves curses to bottom right corner */
    mvcur(getcury(curscr), getcurx(curscr), LINES - 1, 0);
-#endif
 
    /* Flush the curses buffer */
    (void)refresh();