summaryrefslogtreecommitdiffstats
path: root/src/menu.c
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2021-08-07 19:48:44 (EDT)
committer P. J. McDermott <pj@pehjota.net>2021-08-07 19:48:44 (EDT)
commit7400b756adb8c65e5e30d4a46dbd052d547b6104 (patch)
tree530b0767d5c7b62c71671b4bfa04dc96af7a326e /src/menu.c
parentc039f3e47de09f7653f4666f62fff2d6a1dd8b26 (diff)
downloadmazefight-7400b756adb8c65e5e30d4a46dbd052d547b6104.zip
mazefight-7400b756adb8c65e5e30d4a46dbd052d547b6104.tar.gz
mazefight-7400b756adb8c65e5e30d4a46dbd052d547b6104.tar.bz2
tk: Make text widget optionally static
Diffstat (limited to 'src/menu.c')
-rw-r--r--src/menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/menu.c b/src/menu.c
index 8308ba4..5a9de35 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -139,8 +139,8 @@ _mf_menu_form(SDL_Renderer *renderer, TTF_Font *text_font,
}
menu->text = mftk_text_new('0', '9', rand_max_len, menu->seed_buf,
- text_font, text_color, &_mf_menu_seed, &_mf_menu_play,
- menu);
+ text_font, text_color, SDL_TRUE, &_mf_menu_seed,
+ &_mf_menu_play, menu);
grid = mftk_grid_new(5, 2, MF_ROW_M, MF_COL_M,
mftk_label_new(text_font, "Seed", text_color, renderer),
MFTK_GRID_HALIGN_R|MFTK_GRID_VALIGN_T,