summaryrefslogtreecommitdiff
path: root/new/darwin/entry.m
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-16 15:08:49 -0400
committerPietro Gagliardi <[email protected]>2015-04-16 15:08:49 -0400
commit6b08a2b18f9c5f0ddc01a37e2cf26fa7bdf9d98e (patch)
treecbec9d83a0302928dab0855cd9daa87720d56ac1 /new/darwin/entry.m
parent946b3ea34228e92eb39b1be587ede058d8942e34 (diff)
Fixed the OS X build, including warnings. It works. I'm still a bit unhappy about the way these backends are turning out...
Diffstat (limited to 'new/darwin/entry.m')
-rw-r--r--new/darwin/entry.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/new/darwin/entry.m b/new/darwin/entry.m
index 84835f3..7189156 100644
--- a/new/darwin/entry.m
+++ b/new/darwin/entry.m
@@ -59,7 +59,7 @@ uiEntry *uiNewEntry(void)
e = uiNew(uiEntry);
uiDarwinNewControl(uiControl(e), [uiNSTextField class], NO, NO);
- t = (uiNSTextField *) uiControlHandle(c);
+ t = (uiNSTextField *) uiControlHandle(uiControl(e));
[t setSelectable:YES]; // otherwise the setting is masked by the editable default of YES
finishNewTextField((NSTextField *) t, YES);