diff options
Diffstat (limited to 'src/cgls')
-rw-r--r-- | src/cgls/cgls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cgls/cgls.c b/src/cgls/cgls.c index 487c90823e..775bd84ad2 100644 --- a/src/cgls/cgls.c +++ b/src/cgls/cgls.c @@ -191,8 +191,8 @@ static int run(int argc, char *argv[]) { if (r <= 0) return r; - r = pager_open(arg_pager_flags); - if (r > 0 && arg_full < 0) + pager_open(arg_pager_flags); + if (arg_full < 0 && pager_have()) arg_full = true; if (arg_full > 0) |