diff options
| author | Xin LI <delphij@FreeBSD.org> | 2012-11-04 20:47:39 +0000 |
|---|---|---|
| committer | Xin LI <delphij@FreeBSD.org> | 2012-11-04 20:47:39 +0000 |
| commit | 55772d5d72ea3532365f6c31b4599229763e64b1 (patch) | |
| tree | bd9a3fd634e94850ccb1a2e5934cc981b30f9eb2 /screen.c | |
| parent | 9fd1a2751f1696d0214ae5bd77550d31eb4dcd2e (diff) | |
Diffstat (limited to 'screen.c')
| -rw-r--r-- | screen.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -801,7 +801,7 @@ scrsize() else if ((n = ltgetnum("li")) > 0) sc_height = n; #endif - else + if (sc_height <= 0) sc_height = DEF_SC_HEIGHT; if (sys_width > 0) @@ -812,7 +812,7 @@ scrsize() else if ((n = ltgetnum("co")) > 0) sc_width = n; #endif - else + if (sc_width <= 0) sc_width = DEF_SC_WIDTH; } |
