* dlg.c (x_set_dialog_title): Force uniform spacing.

From Andrew Borodin <borodin@zarya-k.ru>
This commit is contained in:
Pavel Roskin 2002-08-24 16:10:26 +00:00
parent 40136e5f74
commit 3982497692
2 changed files with 7 additions and 2 deletions

View File

@ -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>

View File

@ -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);
}