aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/install.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install.c b/scripts/install.c
index 3ffb867d..ba47dd14 100644
--- a/scripts/install.c
+++ b/scripts/install.c
@@ -22,7 +22,7 @@ int main(int argc, char *argv[])
int i, len = 0;
// Output list of applets.
- for (i=1; i<sizeof(toy_list)/sizeof(*toy_list); i++) {
+ for (i=1; i<ARRAY_LEN(toy_list); i++) {
int fl = toy_list[i].flags;
if (fl & TOYMASK_LOCATION) {
if (argc>1) {