diff options
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/menu.c b/menu.c index 1db92d9..b0875ee 100644 --- a/menu.c +++ b/menu.c @@ -92,7 +92,7 @@ menu_filter(struct screen_ctx *sc, struct menu_q *menuq, char *prompt, TAILQ_INIT(&resultq); - bzero(&mc, sizeof(mc)); + (void)memset(&mc, 0, sizeof(mc)); xu_ptr_getpos(sc->rootwin, &mc.x, &mc.y); |