summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-09-07 21:07:33 +0000
committerMatt Wilson <msw@redhat.com>2000-09-07 21:07:33 +0000
commitcf970b91b6d4536a748e736fd4b565e334bdae51 (patch)
tree0f950b451d1fadd25d698fa964f19eccf50aaeec
parentc2ea7707c64f9f330708d17ae46abfab1b376dcf (diff)
downloadanaconda-cf970b91b6d4536a748e736fd4b565e334bdae51.tar.gz
anaconda-cf970b91b6d4536a748e736fd4b565e334bdae51.tar.xz
anaconda-cf970b91b6d4536a748e736fd4b565e334bdae51.zip
set the module path to NULL on init, other japanese tweaks
-rw-r--r--loader/lang.c3
-rw-r--r--loader/loader.c1
-rw-r--r--loader/modules.c1
3 files changed, 3 insertions, 2 deletions
diff --git a/loader/lang.c b/loader/lang.c
index e0a74fb83..5201feed2 100644
--- a/loader/lang.c
+++ b/loader/lang.c
@@ -315,8 +315,7 @@ int chooseLanguage(char ** lang, int flags) {
extern int continuing;
extern void stopNewt(void);
- if (!strcmp (languages[choice].key, "ja") && !continuing
- && !FL_TESTING(flags)) {
+ if (!strcmp (languages[choice].key, "ja") && !continuing) {
char * args[4];
stopNewt();
diff --git a/loader/loader.c b/loader/loader.c
index 04a6fca1f..6c5acd0e0 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -2456,6 +2456,7 @@ int main(int argc, char ** argv) {
}
#ifdef INCLUDE_KON
+ startNewt(flags);
if (continuing)
setLanguage ("ja", flags);
#endif
diff --git a/loader/modules.c b/loader/modules.c
index 821dccf79..278355a5c 100644
--- a/loader/modules.c
+++ b/loader/modules.c
@@ -80,6 +80,7 @@ int mlReadLoadedList(moduleList * mlp) {
*end = '\0';
ml->mods[ml->numModules].name = strdup(start);
ml->mods[ml->numModules].args = NULL;
+ ml->mods[ml->numModules].path = NULL;
ml->mods[ml->numModules].weLoaded = 0;
*end = ' ';
ml->numModules++;