diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-07-08 20:50:39 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-07-08 20:50:39 +0200 |
commit | 41c306dfdaa930e25f0315cf21e732731c9e856d (patch) | |
tree | a3d4c0f1f98496cc45a63e844006611d16df4807 /sys | |
parent | bb11bb1c1f18660c29d5bc46e8de049fd03ff2a0 (diff) |
page: handle combination or -w and -R flags (thanks BurnZeZ)
Diffstat (limited to 'sys')
-rw-r--r-- | sys/src/cmd/page.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/src/cmd/page.c b/sys/src/cmd/page.c index aea34facd..e9b3260ab 100644 --- a/sys/src/cmd/page.c +++ b/sys/src/cmd/page.c @@ -1437,7 +1437,8 @@ main(int argc, char *argv[]) case 'P': break; case 'R': - newwin = -1; + if(newwin == 0) + newwin = -1; break; case 'w': newwin = 1; |