mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
(files_error): fix coding style.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
03a1a9c95b
commit
602a2edf60
@ -1115,11 +1115,11 @@ static FileProgressStatus
|
||||
files_error (const char *format, const char *file1, const char *file2)
|
||||
{
|
||||
char buf[BUF_MEDIUM];
|
||||
char *nfile1 = g_strdup (path_trunc (file1, 15));
|
||||
char *nfile2 = g_strdup (path_trunc (file2, 15));
|
||||
char *nfile1, *nfile2;
|
||||
|
||||
nfile1 = g_strdup (path_trunc (file1, 15));
|
||||
nfile2 = g_strdup (path_trunc (file2, 15));
|
||||
g_snprintf (buf, sizeof (buf), format, nfile1, nfile2, unix_error_string (errno));
|
||||
|
||||
g_free (nfile1);
|
||||
g_free (nfile2);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user