diff options
| author | Toomas Soome <tsoome@me.com> | 2017-02-16 02:26:39 +0200 |
|---|---|---|
| committer | Gordon Ross <gwr@nexenta.com> | 2017-06-07 10:22:06 -0400 |
| commit | f53522305c07915a44e86f2455cc62e7aac27037 (patch) | |
| tree | ccdf5f3486f08c02821c417cae5406288d1c04af /usr/src | |
| parent | 0dbcca9b391b6a95b983f29699611dedbcb5d262 (diff) | |
| download | illumos-joyent-f53522305c07915a44e86f2455cc62e7aac27037.tar.gz | |
8324 more: misleading-indentation
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Alexander Pyhalov <alp@rsu.ru>
Approved by: Gordon Ross <gwr@nexenta.com>
Diffstat (limited to 'usr/src')
| -rw-r--r-- | usr/src/cmd/more/more.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/src/cmd/more/more.c b/usr/src/cmd/more/more.c index 523d87e7cd..9bbe46daad 100644 --- a/usr/src/cmd/more/more.c +++ b/usr/src/cmd/more/more.c @@ -1089,8 +1089,8 @@ command(char *filename, register FILE *f) done++; goto endsw; } - Currline++; - nlines--; + Currline++; + nlines--; } ret (dlines); case '\n': @@ -1470,8 +1470,8 @@ skiplns(register off_t n, register FILE *f) while ((c = Getc (f)) != '\n') if (c == EOF) return; - n--; - Currline++; + n--; + Currline++; } } |
