@ -957,11 +957,10 @@ int main(int /* argc */, char ** /* argv */)
NLMISC::CApplicationContext myApplicationContext;
#ifdef NL_OS_UNIX
std::string homeDir = getenv("HOME");
NLMISC::CPath::addSearchPath( homeDir + "/.nel");
NLMISC::CPath::addSearchPath(NLMISC::CFile::getApplicationDirectory("NeL"));
#endif // NL_OS_UNIX
NLMISC::CPath::addSearchPath(NL_ZVIEWER_CFG);
initViewerConfig("zviewer.cfg");
@ -424,11 +424,10 @@ int main( int argc, char ** argv )
NLMISC::CApplicationContext appContext;
NLMISC::CPath::addSearchPath(NL_MK_SH_ID_CFG);
// read args
if( argc < 2 )
@ -86,11 +86,10 @@ void init()
try
{
NLMISC::CPath::addSearchPath(NL_BIB_CFG);
CConfigFile cf;
uint i;
@ -122,11 +122,10 @@ void initConfig()
NLMISC::CPath::addSearchPath(NL_BIRB_CFG);