1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-19 03:51:02 -05:00

Retire another global in favour of adding a feature to the

terminal.c interface.

[originally from svn r2148]
This commit is contained in:
Simon Tatham
2002-10-26 14:06:52 +00:00
parent 4756c15fc9
commit ea429ee71a
3 changed files with 8 additions and 11 deletions

View File

@ -3106,7 +3106,7 @@ void term_invalidate(Terminal *term)
* Paint the window in response to a WM_PAINT message.
*/
void term_paint(Terminal *term, Context ctx,
int left, int top, int right, int bottom)
int left, int top, int right, int bottom, int immediately)
{
int i, j;
if (left < 0) left = 0;
@ -3128,7 +3128,7 @@ void term_paint(Terminal *term, Context ctx,
* fails to actually do anything when re-sizing ... painting the wrong
* window perhaps ?
*/
if (alt_pressed)
if (immediately)
do_paint (term, ctx, FALSE);
}