From: Michael Tremer Date: Thu, 21 Aug 2014 14:41:44 +0000 (+0200) Subject: setup: Remove version number from window titles X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d1782bf02da9be03df4b2f68ad08dbe17be706bf;p=people%2Fms%2Fipfire-2.x.git setup: Remove version number from window titles --- diff --git a/src/setup/main.c b/src/setup/main.c index 3d47f58f46..3555b2e4d2 100644 --- a/src/setup/main.c +++ b/src/setup/main.c @@ -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(_(" / between elements | 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 { diff --git a/src/setup/passwords.c b/src/setup/passwords.c index 69f35529f3..e7b4b5231a 100644 --- a/src/setup/passwords.c +++ b/src/setup/passwords.c @@ -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);