]> git.tuebingen.mpg.de Git - paraslash.git/commit
com_ff(): Avoid "unsigned i".
authorAndre Noll <maan@tuebingen.mpg.de>
Tue, 1 May 2018 12:04:57 +0000 (14:04 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Tue, 31 Jul 2018 16:14:36 +0000 (18:14 +0200)
commit18ab74be0bd8b5b086ab54b96e1ab0a7e0c14a04
tree08c0370cb050952e6386b6b97c1839788acc4f7e
parent7e2f19e8178fa3ef85e3d1f6851eeea86a08291d
com_ff(): Avoid "unsigned i".

It's an act of violence. The change should have no visible effect in
the common cases

ff n and ff n-

where n is a (small) non-negative integer. The behaviour of the command
changes for negative values of n, but this case was never documented.

After this patch negative arguments instruct the subcommand to jump
backwards, which should meet the expected behaviour.
command.c