Commit 9f0789e0 authored by Cedric Roux's avatar Cedric Roux

- add groups in T_messages.txt

- minor fix
parent f18d59c9
This diff is collapsed.
......@@ -292,7 +292,7 @@ static void onoff_id(database *d, char *name, int *a, int onoff)
i = bsearch(&(id){name:name}, d->i, d->isize, sizeof(id), id_cmp);
if (i == NULL) return;
a[i->id] = onoff;
printf("turning %s %s\n", name, onoff ? "ON" : "OFF");
printf("turning %s %s\n", onoff ? "ON" : "OFF", name);
}
static void onoff_group(database *d, char *name, int *a, int onoff)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment