-- Leo's gemini proxy
-- Connecting to git.thebackupbox.net:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: 479cee24dc150a7bb7e8d842edecef12a6132e61: path_to: revision_to:
commit 479cee24dc150a7bb7e8d842edecef12a6132e61 Author: Marc Lehmann <schmorp@schmorp.de> Date: Wed Dec 24 09:22:29 2003 +0000 *** empty log message *** diff --git a/src/main.C b/src/main.C
--- a/src/main.C +++ b/src/main.C @@ -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(); diff --git a/src/rxvt.h b/src/rxvt.h
--- a/src/rxvt.h +++ b/src/rxvt.h @@ -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; diff --git a/src/salloc.C b/src/salloc.C
--- a/src/salloc.C +++ b/src/salloc.C @@ -51,7 +51,6 @@ rxvt_salloc::alloc () void rxvt_salloc::free (void *data) { -return;//D chain *line = (chain *)data; line->next = firstline; firstline = line; diff --git a/src/screen.C b/src/screen.C
--- a/src/screen.C +++ b/src/screen.C @@ -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);
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 14:13:53 2024