]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - ncurses/base/lib_restart.c
ncurses 5.6 - patch 20081004
[ncurses.git] / ncurses / base / lib_restart.c
index 858ef65a645d7ef0a3313171aa3198d4fbc7f560..da770d4e7c9266c1f27c5c3d64926707e216b7a1 100644 (file)
@@ -1,5 +1,5 @@
 /****************************************************************************
- * Copyright (c) 1998-2006,2007 Free Software Foundation, Inc.              *
+ * Copyright (c) 1998-2007,2008 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            *
@@ -36,8 +36,6 @@
  * Terminfo-only terminal setup routines:
  *
  *             int restartterm(const char *, int, int *)
- *             TERMINAL *set_curterm(TERMINAL *)
- *             int del_curterm(TERMINAL *)
  */
 
 #include <curses.priv.h>
@@ -48,7 +46,7 @@
 
 #include <term.h>              /* lines, columns, cur_term */
 
-MODULE_ID("$Id: lib_restart.c,v 1.8 2007/10/13 19:59:47 tom Exp $")
+MODULE_ID("$Id: lib_restart.c,v 1.10 2008/06/21 17:31:22 tom Exp $")
 
 NCURSES_EXPORT(int)
 restartterm(NCURSES_CONST char *termp, int filenum, int *errret)
@@ -88,7 +86,7 @@ restartterm(NCURSES_CONST char *termp, int filenum, int *errret)
        reset_prog_mode();
 
 #if USE_SIZECHANGE
-       _nc_update_screensize();
+       _nc_update_screensize(SP);
 #endif
 
        result = OK;