]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - ncurses/tty/lib_mvcur.c
ncurses 6.0 - patch 20170415
[ncurses.git] / ncurses / tty / lib_mvcur.c
index 4e285ba66796ad70251c4d22d680e0787adb882b..d75f694823db490f13ba85dbc0624b207d4b0d6c 100644 (file)
@@ -1,5 +1,5 @@
 /****************************************************************************
- * Copyright (c) 1998-2015,2016 Free Software Foundation, Inc.              *
+ * Copyright (c) 1998-2016,2017 Free Software Foundation, Inc.              *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
  * copy of this software and associated documentation files (the            *
 #define CUR SP_TERMTYPE
 #endif
 
-MODULE_ID("$Id: lib_mvcur.c,v 1.140 2016/10/01 17:37:33 tom Exp $")
+MODULE_ID("$Id: lib_mvcur.c,v 1.141 2017/04/07 00:34:22 tom Exp $")
 
 #define WANT_CHAR(sp, y, x) NewScreen(sp)->_line[y].text[x]    /* desired state */
 
@@ -1280,7 +1280,7 @@ main(int argc GCC_UNUSED, char *argv[]GCC_UNUSED)
        } else if (buf[0] == 'i') {
            dump_init(NULL, F_TERMINFO, S_TERMINFO,
                      FALSE, 70, 0, 0, FALSE, FALSE, 0);
-           dump_entry(&cur_term->type, FALSE, TRUE, 0, 0);
+           dump_entry(&TerminalType(cur_term), FALSE, TRUE, 0, 0);
            putchar('\n');
        } else if (buf[0] == 'o') {
            if (_nc_optimize_enable & OPTIMIZE_MVCUR) {