diff options
Diffstat (limited to 'src/cgls/cgls.c')
-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 e2c746f7e7..e5333648bf 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) |