diff options
Diffstat (limited to 'new/checkbox_darwin.m')
| -rw-r--r-- | new/checkbox_darwin.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/new/checkbox_darwin.m b/new/checkbox_darwin.m index a07a4d0..ca52389 100644 --- a/new/checkbox_darwin.m +++ b/new/checkbox_darwin.m @@ -57,7 +57,7 @@ char *uiCheckboxText(uiControl *c) uiCheckboxNSButton *cc; cc = (uiCheckboxNSButton *) uiControlHandle(c); - return strdup(fromNSString([cc title])); + return uiDarwinNSStringToText([cc title]); } void uiCheckboxSetText(uiControl *c, const char *text) |
