mirror of
https://github.com/MidnightCommander/mc
synced 2025-03-04 15:11:42 +03:00
(create_dlg): ignore empty string as title.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
d4b95ea14d
commit
e009cd9ea9
@ -803,7 +803,7 @@ create_dlg (gboolean modal, int y1, int x1, int lines, int cols,
|
||||
new_d->mouse_status = MOU_UNHANDLED;
|
||||
|
||||
/* Strip existing spaces, add one space before and after the title */
|
||||
if (title != NULL)
|
||||
if (title != NULL && *title != '\0')
|
||||
{
|
||||
char *t;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user