mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-19 01:40:20 +03:00
src/screen.c (set_panel_formats): use symbolic constant in message() call.
This commit is contained in:
parent
438e95b110
commit
b8184a4595
@ -1447,7 +1447,7 @@ set_panel_formats (WPanel *p)
|
|||||||
panel_update_cols (&(p->widget), p->frame_size);
|
panel_update_cols (&(p->widget), p->frame_size);
|
||||||
|
|
||||||
if (retcode)
|
if (retcode)
|
||||||
message( 1, _("Warning" ), _( "User supplied format looks invalid, reverting to default." ) );
|
message (D_ERROR, _("Warning" ), _( "User supplied format looks invalid, reverting to default." ) );
|
||||||
if (retcode & 0x01){
|
if (retcode & 0x01){
|
||||||
g_free (p->user_format);
|
g_free (p->user_format);
|
||||||
p->user_format = g_strdup (DEFAULT_USER_FORMAT);
|
p->user_format = g_strdup (DEFAULT_USER_FORMAT);
|
||||||
|
Loading…
Reference in New Issue
Block a user