* ModuleList.cpp:

- it makes no sense to output the real filename if it is empty.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34951 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2010-07-17 21:19:46 +00:00
parent dd08dd8d0a
commit d8351db924

View File

@ -119,9 +119,8 @@ bool ModuleList::read()
LYXERR(Debug::TCLASS, "Reading modules from `" << real_file << '\'');
if (real_file.empty()) {
LYXERR0("unable to find modules file `"
<< to_utf8(makeDisplayPath(real_file.absFileName(), 1000))
<< "'.\nNo modules will be available.");
LYXERR0("unable to find modules file `lyxmodules.lst'.\n"
<< "No modules will be available.");
return false;
}