]> git.lyx.org Git - features.git/commitdiff
* ModuleList.cpp:
authorVincent van Ravesteijn <vfr@lyx.org>
Sat, 17 Jul 2010 21:19:46 +0000 (21:19 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Sat, 17 Jul 2010 21:19:46 +0000 (21:19 +0000)
- 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

src/ModuleList.cpp

index d1d4ddedc9c2654c2083c9532d8b9c554a53d567..4ed97de91431d8e23a91a366252edd04717b8012 100644 (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;
        }