mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +03:00
* dlg.c (x_set_dialog_title): Force uniform spacing.
From Andrew Borodin <borodin@zarya-k.ru>
This commit is contained in:
parent
40136e5f74
commit
3982497692
@ -1,5 +1,8 @@
|
||||
2002-08-24 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* dlg.c (x_set_dialog_title): Force uniform spacing.
|
||||
From Andrew Borodin <borodin@zarya-k.ru>
|
||||
|
||||
* utilunix.c (check_error_pipe): Check error_pipe[0], not
|
||||
stdout. From Pavel Tsekov <ptsekov@gmx.net>
|
||||
|
||||
|
@ -974,8 +974,10 @@ int dlg_select_nth_widget (Dlg_head *h, int n)
|
||||
}
|
||||
|
||||
void
|
||||
x_set_dialog_title (Dlg_head *h, const char *title)
|
||||
x_set_dialog_title (Dlg_head * h, const char *title)
|
||||
{
|
||||
h->title = g_strdup (title);
|
||||
char *t = g_strstrip (g_strdup (title));
|
||||
h->title = g_strconcat (" ", t, " ", NULL);
|
||||
g_free (t);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user