summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkEntry.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-11-26 20:48:07 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-11-26 20:48:07 (GMT)
commitfdf27f95df08c89a26532ee79d5d771f10b05837 (patch)
tree878c658370eaa732a0b9aae67ee85b6c8afb6e21 /generic/ttk/ttkEntry.c
parentfcbf569858ecb8e78138c709e4a39babca23e584 (diff)
parenteca06f257b5b2c6a01a466e4e4501eb3f6f549a6 (diff)
downloadtk-fdf27f95df08c89a26532ee79d5d771f10b05837.zip
tk-fdf27f95df08c89a26532ee79d5d771f10b05837.tar.gz
tk-fdf27f95df08c89a26532ee79d5d771f10b05837.tar.bz2
Merge 8.6
Diffstat (limited to 'generic/ttk/ttkEntry.c')
-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 38970d8..37b4dbc 100644
--- a/generic/ttk/ttkEntry.c
+++ b/generic/ttk/ttkEntry.c
@@ -294,7 +294,7 @@ static char *EntryDisplayString(const char *showChar, int numChars)
char *displayString, *p;
int size;
int ch;
- char buf[6];
+ char buf[4];
TkUtfToUniChar(showChar, &ch);
size = TkUniCharToUtf(ch, buf);