X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;ds=sidebyside;f=terminal.c;h=26a3f0c93f64b90228802ea6a50027a6500dd21d;hb=145ecf611238c4f1e39d89d3eee40319a2c54fe8;hp=c5fdeeb0245643a3c9584211f7664505e9b23761;hpb=8fdeb3a95cc3d7dce5629fc22e309eb3c996f44d;p=PuTTY.git diff --git a/terminal.c b/terminal.c index c5fdeeb0..26a3f0c9 100644 --- a/terminal.c +++ b/terminal.c @@ -4725,7 +4725,7 @@ static void term_out(Terminal *term) } term_print_flush(term); - if (term->logflush) + if (term->logflush && term->logctx) logflush(term->logctx); }