From 42beee08a73cd56e75481b5b32865d2b42d5f257 Mon Sep 17 00:00:00 2001 From: okan Date: Sat, 6 Sep 2014 16:18:08 +0000 Subject: style nit --- menu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'menu.c') diff --git a/menu.c b/menu.c index 1e8c1fb..a144336 100644 --- a/menu.c +++ b/menu.c @@ -16,7 +16,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: menu.c,v 1.75 2014/02/01 19:28:46 okan Exp $ + * $OpenBSD: menu.c,v 1.76 2014/09/06 16:18:08 okan Exp $ */ #include @@ -260,7 +260,7 @@ menu_handle_key(XEvent *e, struct menu_ctx *mc, struct menu_q *menuq, * even if dummy is zero, we need to return something. */ if ((mi = TAILQ_FIRST(resultq)) == NULL) { - mi = xmalloc(sizeof *mi); + mi = xmalloc(sizeof(*mi)); (void)strlcpy(mi->text, mc->searchstr, sizeof(mi->text)); mi->dummy = 1; @@ -302,7 +302,7 @@ menu_handle_key(XEvent *e, struct menu_ctx *mc, struct menu_q *menuq, mc->list = !mc->list; break; case CTL_ABORT: - mi = xmalloc(sizeof *mi); + mi = xmalloc(sizeof(*mi)); mi->text[0] = '\0'; mi->dummy = 1; mi->abort = 1; -- cgit v1.2.3-2-gb3c3