mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-10 02:55:55 +02:00
setup: Remove version number from window titles
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user