From d8351db924192cd18fb248e8508123fa14104bc8 Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Sat, 17 Jul 2010 21:19:46 +0000 Subject: [PATCH] * 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 --- src/ModuleList.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/ModuleList.cpp b/src/ModuleList.cpp index d1d4ddedc9..4ed97de914 100644 --- a/src/ModuleList.cpp +++ b/src/ModuleList.cpp @@ -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; } -- 2.39.2