diff options
Diffstat (limited to 'src/nvim/hardcopy.c')
-rw-r--r-- | src/nvim/hardcopy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/hardcopy.c b/src/nvim/hardcopy.c index c0a86a415b..dccc62d9a9 100644 --- a/src/nvim/hardcopy.c +++ b/src/nvim/hardcopy.c @@ -1513,7 +1513,7 @@ static void prt_def_var(char *name, double value, int prec) static void prt_flush_buffer(void) { - if (prt_ps_buffer.ga_len > 0) { + if (!GA_EMPTY(&prt_ps_buffer)) { /* Any background color must be drawn first */ if (prt_do_bgcol && (prt_new_bgcol != PRCOLOR_WHITE)) { int r, g, b; |