diff options
author | Denis Vlasenko | 2006-11-27 16:49:31 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-11-27 16:49:31 +0000 |
commit | 079f8afa0a16112cbaf7012c82b38b7358b82141 (patch) | |
tree | 0d8cba8e45b1a8b975e0b8c7a8377703ab5547a6 /shell/cmdedit.c | |
parent | 10d0d4eec7e3a292917f43f72afae20341d9ba11 (diff) | |
download | busybox-079f8afa0a16112cbaf7012c82b38b7358b82141.zip busybox-079f8afa0a16112cbaf7012c82b38b7358b82141.tar.gz |
style cleanup: return(a) -> return a, part 1
Diffstat (limited to 'shell/cmdedit.c')
-rw-r--r-- | shell/cmdedit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/cmdedit.c b/shell/cmdedit.c index dda6f69..ceaa2e8 100644 --- a/shell/cmdedit.c +++ b/shell/cmdedit.c @@ -1180,7 +1180,8 @@ static int get_next_history(void) if (ch < n_history) { get_previous_history(); /* save the current history line */ - return (cur_history = ch+1); + cur_history = ch + 1; + return cur_history; } else { beep(); return 0; |