Fix bug 3420 by Uwe and Enrico.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17726 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-04-05 08:10:22 +00:00
parent 238c087a71
commit 13ec7e4b74

View File

@ -76,7 +76,7 @@ string fix_name(const string & str, bool big)
return "/";
if (str == "backslash")
return "\\";
if (str == "empty")
if (str.empty())
return ".";
if (!big || str == "(" || str == ")" || str == "[" || str == "]")
return str;