summaryrefslogtreecommitdiffstats
path: root/src/tk/check.c
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2021-08-06 08:25:33 (EDT)
committer P. J. McDermott <pj@pehjota.net>2021-08-06 08:35:56 (EDT)
commitff36b7225cd146b50cb8e4522ad58aa43c6bc153 (patch)
treeef0b4d61dfc4a2d7c878b10f5f2ac3179654303a /src/tk/check.c
parentff4f77ec223c5a0b1a015789d34177d8ddb4a4b2 (diff)
downloadmazefight-ff36b7225cd146b50cb8e4522ad58aa43c6bc153.zip
mazefight-ff36b7225cd146b50cb8e4522ad58aa43c6bc153.tar.gz
mazefight-ff36b7225cd146b50cb8e4522ad58aa43c6bc153.tar.bz2
tk: Build focus tab index
Diffstat (limited to 'src/tk/check.c')
-rw-r--r--src/tk/check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tk/check.c b/src/tk/check.c
index 5c73554..a2eadd0 100644
--- a/src/tk/check.c
+++ b/src/tk/check.c
@@ -223,7 +223,7 @@ mftk_check_new(int butn_width, int butn_padding, SDL_Color *butn_color,
struct mftk_widget *w;
struct mftk_check *c;
- mftk_widget_init(w, c, check);
+ mftk_widget_init_focusable(w, c, check);
if (font != NULL && text != NULL && text_color != NULL) {
c->label = mftk_label_new(font, text, text_color, renderer);