mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-08 10:51:03 +00:00
use from_ascii on pure ascii.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15277 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3836ff77f0
commit
816103659e
@ -810,11 +810,11 @@ void LyXText::dispatch(LCursor & cur, FuncRequest & cmd)
|
||||
|
||||
case LFUN_SERVER_GET_FONT:
|
||||
if (current_font.shape() == LyXFont::ITALIC_SHAPE)
|
||||
cur.message(lyx::from_utf8("E"));
|
||||
cur.message(lyx::from_ascii("E"));
|
||||
else if (current_font.shape() == LyXFont::SMALLCAPS_SHAPE)
|
||||
cur.message(lyx::from_utf8("N"));
|
||||
cur.message(lyx::from_ascii("N"));
|
||||
else
|
||||
cur.message(lyx::from_utf8("0"));
|
||||
cur.message(lyx::from_ascii("0"));
|
||||
break;
|
||||
|
||||
case LFUN_SERVER_GET_LAYOUT:
|
||||
|
Loading…
Reference in New Issue
Block a user