replace with memset

This commit is contained in:
okan
2013-12-17 16:10:43 +00:00
parent 19fc7f666b
commit da2bea3ffa
4 changed files with 5 additions and 5 deletions

2
menu.c
View File

@@ -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);