From 8b52102fa434b35d2797e59f7afe80a44acad21b Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 24 Dec 2021 01:04:41 -0500 Subject: tk/text: Replace min_char and max_char with allowed_chars --- (limited to 'src/game.c') diff --git a/src/game.c b/src/game.c index e544aa1..1db249a 100644 --- a/src/game.c +++ b/src/game.c @@ -52,7 +52,7 @@ static struct mftk_widget * _mf_game_form(SDL_Renderer *renderer, TTF_Font *text_font, struct _mf_game *game) { - game->timer = mftk_text_new('\0', '\0', 5, "00:00", text_font, + game->timer = mftk_text_new(MF_DIGITS ":", 5, "00:00", text_font, SDL_FALSE, NULL, NULL, NULL, NULL); return mftk_grid_new(2, 1, MF_ROW_M, MF_COL_M, game->timer, -- cgit v0.9.1