diff options
author | Chris Lumens <clumens@redhat.com> | 2004-12-23 15:38:22 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2004-12-23 15:38:22 +0000 |
commit | a766c942cce257de8dcd878e74bd5e4f1d084c85 (patch) | |
tree | 58da70bd55c172657d376f4cca2bd927241a3c83 /loader2 | |
parent | 142ec27525825c735b4c91afd5ef47450364cf89 (diff) | |
download | anaconda-a766c942cce257de8dcd878e74bd5e4f1d084c85.tar.gz anaconda-a766c942cce257de8dcd878e74bd5e4f1d084c85.tar.xz anaconda-a766c942cce257de8dcd878e74bd5e4f1d084c85.zip |
Let the user know they're in rescue mode from the very beginning (#136171).
Diffstat (limited to 'loader2')
-rw-r--r-- | loader2/lang.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/loader2/lang.c b/loader2/lang.c index d1efb1215..009e999d4 100644 --- a/loader2/lang.c +++ b/loader2/lang.c @@ -50,6 +50,7 @@ struct aString * strings = NULL; int numStrings = 0, allocedStrings = 0; static char * topLineWelcome = N_("Welcome to %s"); +static char * topLineWelcomeRescue = N_("Welcome to %s - Rescue Mode"); static char * bottomHelpLine = N_(" <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen "); static int aStringCmp(const void * a, const void * b) { @@ -249,7 +250,11 @@ static int setupLanguage(int choice, int flags) { buf[i] = ' '; newtDrawRootText(0, 0, buf); - buf = sdupprintf(_(topLineWelcome), getProductName()); + if (FL_RESCUE(flags)) + buf = sdupprintf(_(topLineWelcomeRescue), getProductName()); + else + buf = sdupprintf(_(topLineWelcome), getProductName()); + newtDrawRootText(0, 0, buf); free(buf); newtPopHelpLine(); |