summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generic/ttk/ttkEntry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/ttk/ttkEntry.c b/generic/ttk/ttkEntry.c
index 410c60c..044369c 100644
--- a/generic/ttk/ttkEntry.c
+++ b/generic/ttk/ttkEntry.c
@@ -1175,7 +1175,7 @@ static void EntryDisplay(void *clientData, Drawable d)
EntryInitStyleData(entryPtr, &es);
- textarea = Ttk_ClientRegion(corePtr->layout, "textarea");
+ textarea = Ttk_ClientRegion(entryPtr->core.layout, "textarea");
showCursor =
(entryPtr->core.flags & CURSOR_ON) != 0
&& EntryEditable(entryPtr)