summaryrefslogtreecommitdiffstats
path: root/src/tk.h
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2021-12-24 01:18:33 (EST)
committer P. J. McDermott <pj@pehjota.net>2021-12-24 01:18:33 (EST)
commitaaefbcddbbc2fb8c71e0a2ea40f76fce3c18c0aa (patch)
treeae9b840ca0ca4d44e7d1efeef71f82dcc61fe7cc /src/tk.h
parent8b52102fa434b35d2797e59f7afe80a44acad21b (diff)
downloadmazefight-aaefbcddbbc2fb8c71e0a2ea40f76fce3c18c0aa.zip
mazefight-aaefbcddbbc2fb8c71e0a2ea40f76fce3c18c0aa.tar.gz
mazefight-aaefbcddbbc2fb8c71e0a2ea40f76fce3c18c0aa.tar.bz2
tk/text: strchr() allowed_chars for validation
Diffstat (limited to 'src/tk.h')
-rw-r--r--src/tk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tk.h b/src/tk.h
index 55ac0a3..165e83e 100644
--- a/src/tk.h
+++ b/src/tk.h
@@ -71,7 +71,7 @@ mftk_radio_new(int butn_width, int butn_padding, int label_padding,
struct mftk_widget *
mftk_text_new(const char *allowed_chars, int len, const char *val,
- TTF_Font *font, int editable, int (*allowed)(void *, char),
+ TTF_Font *font, int editable,
int (*action)(void *, const char *), int (*submit)(void *),
void *user_data);