*** empty log message ***
authorpcg <pcg>
Wed, 24 Dec 2003 09:22:29 +0000 (09:22 +0000)
committerpcg <pcg>
Wed, 24 Dec 2003 09:22:29 +0000 (09:22 +0000)
src/main.C
src/rxvt.h
src/salloc.C
src/screen.C
src/version.h

index 6477c372787a2a46ab0ed33d2ca76405971e4455..1888593d5f67c5e22ca509db7a5f5ba542609660 100644 (file)
@@ -1,7 +1,7 @@
 /*--------------------------------*-C-*---------------------------------*
  * File:        main.c
  *----------------------------------------------------------------------*
- * $Id: main.C,v 1.18 2003-12-19 06:17:03 pcg Exp $
+ * $Id: main.C,v 1.19 2003-12-24 09:22:29 pcg Exp $
  *
  * All portions of code are copyright by their respective author/s.
  * Copyright (c) 1992      John Bovey, University of Kent at Canterbury <jdb@ukc.ac.uk>
@@ -957,11 +957,16 @@ rxvt_term::resize_all_windows (unsigned int width, unsigned int height, int igno
   if (fix_screen || old_height == 0)
     {
       int curr_screen = -1;
-      uint16_t old_ncol = prev_ncol;
+      int old_ncol = prev_ncol;
 
       /* scr_reset only works on the primary screen */
       if (old_height)      /* this is not the first time through */
-        curr_screen = rxvt_scr_change_screen (this, PRIMARY);
+        {
+          unsigned int ncol = TermWin.ncol;
+          TermWin.ncol = prev_ncol; // save b/c scr_blank_screen_mem uses this
+          curr_screen = rxvt_scr_change_screen (this, PRIMARY);
+          TermWin.ncol = ncol;
+        }
 
       scr_reset();
 
index 8f21896d0e3aed2cdec912aeed46869906644cff..759d81e41bf53c30b6669efddeaf19833617ff9d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: rxvt.h,v 1.19 2003-12-19 09:41:09 pcg Exp $
+ * $Id: rxvt.h,v 1.20 2003-12-24 09:22:29 pcg Exp $
  */
 
 #ifndef _RXVT_H_                /* include once only */
@@ -887,7 +887,7 @@ struct rxvt_term : rxvt_vars {
 #endif
   short           rvideo;
   int16_t         num_scr;    /* screen: number lines scrolled             */
-  uint16_t        prev_ncol,   /* screen: previous number of columns        */
+  unsigned int    prev_ncol,  /* screen: previous number of columns        */
                   prev_nrow;  /* screen: previous number of rows           */
 #ifdef RXVT_GRAPHICS
   uint16_t        gr_prev_start;
index 0595173753c3078757578dea55b1db28285fb3a1..c718a8a5843cf8d5882c2e612328b71ad6c42da0 100644 (file)
@@ -51,7 +51,6 @@ rxvt_salloc::alloc ()
 void
 rxvt_salloc::free (void *data)
 {
-return;//D
   chain *line = (chain *)data;
   line->next = firstline;
   firstline = line;
index 5fd24ac0801d4f01ff5301474a015535b861df34..edeefb6b9e8457d12bc60783e6be2c37e11c2983 100644 (file)
@@ -1,7 +1,7 @@
 /*--------------------------------*-C-*--------------------------------------*
  * File:        screen.c
  *---------------------------------------------------------------------------*
- * $Id: screen.C,v 1.12 2003-12-18 14:11:47 pcg Exp $
+ * $Id: screen.C,v 1.13 2003-12-24 09:22:29 pcg Exp $
  *
  * Copyright (c) 1997-2001 Geoff Wing <gcw@pobox.com>
  *
@@ -291,7 +291,7 @@ rxvt_term::scr_reset ()
           /* add rows */
           scr_reset_realloc (); /* realloc _first_ */
 
-          TermWin.ncol =  prev_ncol; // save b/c scr_blank_screen_mem uses this
+          TermWin.ncol = prev_ncol; // save b/c scr_blank_screen_mem uses this
 
           k = min (TermWin.nscrolled, nrow - prev_nrow);
 
index 8d23b2c84dd55deb5b7ce059b10f6af177c44c67..1c92eb09c5feba246fb2dc2c129ebd4475718b0d 100644 (file)
@@ -1,5 +1,5 @@
-#define VERSION "1.1"
-#define VSTRING "10100"
-#define DATE   "2003-18-12"
-#define LSMDATE        "18DEC03"
-#define LIBVERSION "1:1:0"
+#define VERSION "1.2"
+#define VSTRING "10200"
+#define DATE   "2003-24-12"
+#define LSMDATE        "24DEC03"
+#define LIBVERSION "1:2:0"