(show_cursor): Use msymbol_name (not mlangauge_name).
authorhanda <handa>
Mon, 21 May 2007 01:41:29 +0000 (01:41 +0000)
committerhanda <handa>
Mon, 21 May 2007 01:41:29 +0000 (01:41 +0000)
example/medit.c

index 9b321df..a4e08d1 100644 (file)
@@ -863,7 +863,8 @@ show_cursor (XtPointer client_data)
       else
        {
          XtSetArg (arg[0], XtNborderWidth, 1);
-         XtSetArg (arg[1], XtNlabel, mlanguage_name (sym));
+         sym = mlanguage_name (sym);
+         XtSetArg (arg[1], XtNlabel, msymbol_name (sym));
          XtSetValues (CurLangWidget, arg, 2);
        }
       XtSetValues (CurLangWidget, arg, 2);