diff options
author | okan | 2014-09-06 16:18:08 +0000 |
---|---|---|
committer | okan | 2014-09-06 16:18:08 +0000 |
commit | 42beee08a73cd56e75481b5b32865d2b42d5f257 (patch) | |
tree | 9dd16ee3fd4c216b5c5009c6e76386554ff272b3 | |
parent | 09c6df182c5227f2f6c12debe93eefeb2d0d8ce3 (diff) | |
download | cwm-42beee08a73cd56e75481b5b32865d2b42d5f257.tar.gz |
style nit
Diffstat (limited to '')
-rw-r--r-- | menu.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 <sys/param.h> @@ -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; |