]> git.lyx.org Git - lyx.git/commitdiff
use from_ascii on pure ascii.
authorAbdelrazak Younes <younes@lyx.org>
Sun, 8 Oct 2006 10:21:23 +0000 (10:21 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sun, 8 Oct 2006 10:21:23 +0000 (10:21 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15277 a592a061-630c-0410-9148-cb99ea01b6c8

src/text3.C

index 5a424ec629f531d0cf3d8b34f377e319032bb2f3..47fc8ceab030fbae191923c84d40e6f9c175bda5 100644 (file)
@@ -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: