emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/macmenu.c [emacs-unicode-2]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/src/macmenu.c [emacs-unicode-2]
Date: Wed, 08 Dec 2004 00:47:40 -0500

Index: emacs/src/macmenu.c
diff -c emacs/src/macmenu.c:1.11.2.5 emacs/src/macmenu.c:1.11.2.6
*** emacs/src/macmenu.c:1.11.2.5        Thu Oct 14 08:49:54 2004
--- emacs/src/macmenu.c Wed Dec  8 05:02:20 2004
***************
*** 2264,2271 ****
        item_name[255] = 0;
  #if TARGET_API_MAC_CARBON
        {
!       CFStringRef string =
!         CFStringCreateWithCString (NULL, item_name, kCFStringEncodingUTF8);
  
        SetMenuItemTextWithCFString (menu, pos, string);
        CFRelease (string);
--- 2264,2270 ----
        item_name[255] = 0;
  #if TARGET_API_MAC_CARBON
        {
!       CFStringRef string = cfstring_create_with_utf8_cstring (item_name);
  
        SetMenuItemTextWithCFString (menu, pos, string);
        CFRelease (string);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]