mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
* sfs.c (sfs_init): Parametrize sfs.ini to allow reuse of the
messages in other places.
This commit is contained in:
parent
758842a16d
commit
bbc35a31cf
@ -1,3 +1,8 @@
|
||||
2002-09-26 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* sfs.c (sfs_init): Parametrize sfs.ini to allow reuse of the
|
||||
messages in other places.
|
||||
|
||||
2002-09-25 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* vfs.c (vfs_parse_filemode): Fix parsing for filenames that
|
||||
|
@ -330,7 +330,8 @@ static int sfs_init (vfs *me)
|
||||
}
|
||||
|
||||
if (!semi){
|
||||
fprintf (stderr, _("Warning: Invalid line in sfs.ini:\n%s\n"), key);
|
||||
fprintf (stderr, _("Warning: Invalid line in %s:\n%s\n"),
|
||||
"sfs.ini", key);
|
||||
continue;
|
||||
}
|
||||
|
||||
@ -341,7 +342,8 @@ static int sfs_init (vfs *me)
|
||||
case '2': flags |= F_2; break;
|
||||
case 'R': flags |= F_NOLOCALCOPY; break;
|
||||
default:
|
||||
fprintf (stderr, _("Warning: Invalid flag %c in sfs.ini:\n%s\n"), *c, key);
|
||||
fprintf (stderr, _("Warning: Invalid flag %c in %s:\n%s\n"),
|
||||
*c, "sfs.ini", key);
|
||||
}
|
||||
c++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user