summaryrefslogtreecommitdiff
path: root/new/darwin/entry.m
diff options
context:
space:
mode:
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);