]> git.proxmox.com Git - mirror_qemu.git/commit
ui/cocoa: Use macro ARRAY_SIZE where possible
authorStefan Weil <sw@weilnetz.de>
Sat, 7 Dec 2013 13:48:05 +0000 (14:48 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 23 Dec 2013 12:02:19 +0000 (16:02 +0400)
commit5d70192bcb80a5355323a4736e0fb44d8e2b6743
tree7dcb7e5fe96896218c99747ad17f038daacc3040
parentdff7424dc09635c33b42193fbb40c90fc9a971f4
ui/cocoa: Use macro ARRAY_SIZE where possible

This improves readability and simplifies the code.

Cc: Andreas Färber <andreas.faerber@web.de>
Cc: Anthony Liguori <aliguori@amazon.com>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
ui/cocoa.m