From 201cfa6052441b3f3dece9df12d536e4ee184521 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Thu, 11 Dec 2008 09:26:41 +0000 Subject: [PATCH] * 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 --- src/LyXFunc.cpp | 2 +- status.16x | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/LyXFunc.cpp b/src/LyXFunc.cpp index 493f05a22b..6451a99eff 100644 --- a/src/LyXFunc.cpp +++ b/src/LyXFunc.cpp @@ -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"); diff --git a/status.16x b/status.16x index 84bcc6860f..7750ebaf3f 100644 --- a/status.16x +++ b/status.16x @@ -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).