mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 13:48:59 +00:00
* LyXFunc.cpp: prevent potential assertion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27842 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
04d1a65234
commit
a31a6ccadf
@ -1031,7 +1031,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");
|
||||
|
Loading…
Reference in New Issue
Block a user