]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
setup: Remove version number from window titles
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 21 Aug 2014 14:41:44 +0000 (16:41 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 21 Aug 2014 14:41:44 +0000 (16:41 +0200)
src/setup/main.c
src/setup/passwords.c

index 3d47f58f4636634c7259670dd0632d1636baa91a..3555b2e4d248119deef60036046471e9aa70295f 100644 (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 {
index 69f35529f36593223bda59bea3403c7848fce348..e7b4b5231a0343f7c911808aa6f0d6079f191931 100644 (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);