mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
(mcview_get_byte): fix value returned in case of error.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
052ac838aa
commit
56af50cb1d
@ -120,7 +120,7 @@ mcview_get_byte (mcview_t * view, off_t offset, int *retval)
|
||||
#ifdef HAVE_ASSERT_H
|
||||
assert (!"Unknown datasource type");
|
||||
#endif
|
||||
return -1;
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------------------------- */
|
||||
|
Loading…
Reference in New Issue
Block a user