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 [lexbind]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/src/macmenu.c [lexbind]
Date: Wed, 08 Dec 2004 18:56:49 -0500

Index: emacs/src/macmenu.c
diff -c emacs/src/macmenu.c:1.1.2.8 emacs/src/macmenu.c:1.1.2.9
*** emacs/src/macmenu.c:1.1.2.8 Mon Oct 25 04:19:36 2004
--- emacs/src/macmenu.c Wed Dec  8 23:36:24 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]