* LyXFunc.cpp: prevent potential assertion.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27843 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2008-12-11 09:26:41 +00:00
parent f38e04975c
commit 201cfa6052
2 changed files with 3 additions and 1 deletions

View File

@ -1030,7 +1030,7 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
theApp()->dispatch(FuncRequest(LFUN_WINDOW_NEW));
string const arg = argument;
if (arg.empty()) {
setErrorMessage(from_ascii(N_("Missing argument")));
setErrorMessage(from_utf8(N_("Missing argument")));
break;
}
FileName const fname = i18nLibFileSearch("doc", arg, "lyx");

View File

@ -120,6 +120,8 @@ What's new
- Fix the registration of mimetypes, which cures a crash when using
the clipboard and launching other applications on Windows (bug 5472).
- Fix assertion when issueing a translated error message to help-open.
- Fix freeze when selecting after a large amount of text already was
selected (bug 5504).