Make the About screen and CTCP VERSION consistent and remove the license text option

This commit is contained in:
Berke Viktor
2012-07-13 19:20:55 +02:00
parent 2e73e51505
commit cc28cc0177
6 changed files with 11 additions and 32 deletions

View File

@@ -479,21 +479,10 @@ fe_set_title (session *sess)
default:
def:
snprintf (tbuf, sizeof (tbuf), DISPLAY_NAME);
if (strcmp (prefs.gui_license, "")) /* zero means gui_license is empty */
{
strcat (tbuf, " - ");
strcat (tbuf, prefs.gui_license);
}
gtk_window_set_title (GTK_WINDOW (sess->gui->window), tbuf);
return;
}
if (strcmp (prefs.gui_license, "")) /* zero means gui_license is empty */
{
strcat (tbuf, " - ");
strcat (tbuf, prefs.gui_license);
}
gtk_window_set_title (GTK_WINDOW (sess->gui->window), tbuf);
}