setup: Remove version number from window titles

This commit is contained in:
Michael Tremer
2014-08-21 16:41:44 +02:00
parent 9dd16c6d24
commit d1782bf02d
2 changed files with 3 additions and 3 deletions

View File

@@ -104,7 +104,7 @@ int main(int argc, char *argv[])
title[strlen(title) - 1] = '\0';
fclose (f_title);
} else {
sprintf (title, "%s %s - %s", NAME, VERSION, SLOGAN);
sprintf (title, "%s - %s", NAME, SLOGAN);
}
newtDrawRootText(14, 0, title);
newtPushHelpLine(_(" <Tab>/<Alt-Tab> between elements | <Space> selects"));
@@ -187,7 +187,7 @@ int main(int argc, char *argv[])
EXIT:
if (automode != 0)
{
sprintf (title, "%s %s - %s", NAME, VERSION, SLOGAN);
sprintf (title, "%s - %s", NAME, SLOGAN);
if (autook)
newtWinMessage(title, _("OK"), _("Setup is complete."));
else {

View File

@@ -84,7 +84,7 @@ int getpassword(char *password, char *text)
do
{
done = 1;
sprintf (title, "%s %s - %s", NAME, VERSION, SLOGAN);
sprintf (title, "%s - %s", NAME, SLOGAN);
rc = newtWinEntries(title, text,
65, 5, 5, 50, entries, _("OK"), _("Cancel"), NULL);