set package name before setting up directories
authorMatthias Braun <matze@braunis.de>
Wed, 24 Nov 2004 00:44:45 +0000 (00:44 +0000)
committerMatthias Braun <matze@braunis.de>
Wed, 24 Nov 2004 00:44:45 +0000 (00:44 +0000)
SVN-Revision: 2165

lib/app/setup.cpp

index 3956569..ba520c0 100644 (file)
@@ -256,12 +256,12 @@ void Setup::init(const std::string& _package_name,
         const std::string& _package_symbol_name,
         const std::string& _package_version)
 {
-  directories();
-  dictionary_manager.add_directory(datadir + "/locale");
-  
   package_name = _package_name;
-  package_symbol_name = _package_symbol_name;
+  package_symbol_name = _package_symbol_name;    
   package_version = _package_version;
+    
+  directories();
+  dictionary_manager.add_directory(datadir + "/locale");
 }
 
 /* --- SETUP --- */