]> git.eshelyaron.com Git - emacs.git/commit
Make NS toolbar use NSString instead of C strings
authorAlan Third <alan@idiocy.org>
Sun, 22 Aug 2021 20:50:09 +0000 (21:50 +0100)
committerAlan Third <alan@idiocy.org>
Wed, 22 Dec 2021 20:48:19 +0000 (20:48 +0000)
commit42601d3a938ee5a12a557840aef11c4d3bb180f6
treef1cf9617fafff0e7550baa7c083d197ce81b8b23
parent308ad05d37a2d230c65a8799e193e25f4f8ba540
Make NS toolbar use NSString instead of C strings

* src/nsfns.m ([NSString stringWithLispString:]): Ensure that the lisp
object is actually a string.
* src/nsmenu.m (update_frame_tool_bar): Convert to NSString instead of
C strings.
([EmacsToolbar addDisplayItemWithImage:idx:tag:labelText:helpText:enabled:]):
No need to convert to NSString here anymore.
src/nsfns.m
src/nsmenu.m
src/nsterm.h