mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
(tree_move): fix coding style.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
48c5428b0f
commit
44666f378a
@ -762,7 +762,7 @@ tree_move (WTree * tree, const char *default_dest)
|
||||
|
||||
dest_vpath = vfs_path_from_str (dest);
|
||||
|
||||
if (mc_stat (dest_vpath, &buf))
|
||||
if (mc_stat (dest_vpath, &buf) != 0)
|
||||
message (D_ERROR, MSG_ERROR, _("Cannot stat the destination\n%s"),
|
||||
unix_error_string (errno));
|
||||
else if (!S_ISDIR (buf.st_mode))
|
||||
|
Loading…
Reference in New Issue
Block a user