mirror of https://github.com/MidnightCommander/mc
(move_to_top): fix a 14-years error in condition.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
8cebe41b9a
commit
8f9593d2d5
|
@ -272,7 +272,7 @@ move_backward (int i)
|
||||||
static void
|
static void
|
||||||
move_to_top (void)
|
move_to_top (void)
|
||||||
{
|
{
|
||||||
while (((int) (currentpoint > fdata) > 0) && (*currentpoint != CHAR_NODE_END))
|
while (((int) (currentpoint - fdata) > 0) && (*currentpoint != CHAR_NODE_END))
|
||||||
currentpoint--;
|
currentpoint--;
|
||||||
|
|
||||||
while (*currentpoint != ']')
|
while (*currentpoint != ']')
|
||||||
|
|
Loading…
Reference in New Issue