]> git.donarmstrong.com Git - samtools.git/blobdiff - bam_tview.c
* samtools-0.1.5-9 (r405)
[samtools.git] / bam_tview.c
index 2442994d3708912daf0823c1114eb0368d6961de..c6a31cd7fc73d20797d3c1d7e1d0fd4545cf8942 100644 (file)
@@ -192,11 +192,8 @@ tview_t *tv_init(const char *fn, const char *fn_fa)
        clear();
        noecho();
        cbreak();
-#ifdef NCURSES_VERSION
+       tv->mrow = 24; tv->mcol = 80;
        getmaxyx(stdscr, tv->mrow, tv->mcol);
-#else
-       tv->mrow = 80; tv->mcol = 40;
-#endif
        tv->wgoto = newwin(3, TV_MAX_GOTO + 10, 10, 5);
        tv->whelp = newwin(27, 40, 5, 5);
        tv->color_for = TV_COLOR_MAPQ;