mirror of
https://github.com/MidnightCommander/mc
synced 2025-03-06 16:11:32 +03:00
(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
|
||||
move_to_top (void)
|
||||
{
|
||||
while (((int) (currentpoint > fdata) > 0) && (*currentpoint != CHAR_NODE_END))
|
||||
while (((int) (currentpoint - fdata) > 0) && (*currentpoint != CHAR_NODE_END))
|
||||
currentpoint--;
|
||||
|
||||
while (*currentpoint != ']')
|
||||
|
Loading…
x
Reference in New Issue
Block a user