Skip to content

Commit

Permalink
Fix printing of NumRings
Browse files Browse the repository at this point in the history
Fixes: 5b3a3a8 ("Use NumRings instead of separate Ring/Ring2 (#669)")
  • Loading branch information
whot committed Oct 9, 2024
1 parent 4e4910d commit dbfeb61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libwacom/libwacom.c
Original file line number Diff line number Diff line change
Expand Up @@ -1086,7 +1086,7 @@ libwacom_print_device_description(int fd, const WacomDevice *device)
dprintf(fd, "[Features]\n");
dprintf(fd, "Reversible=%s\n", libwacom_is_reversible(device) ? "true" : "false");
dprintf(fd, "Stylus=%s\n", libwacom_has_stylus(device) ? "true" : "false");
dprintf(fd, "NumRings=%s\n", libwacom_get_num_rings(device) ? "true" : "false");
dprintf(fd, "NumRings=%d\n", libwacom_get_num_rings(device));
dprintf(fd, "Touch=%s\n", libwacom_has_touch(device) ? "true" : "false");
dprintf(fd, "TouchSwitch=%s\n", libwacom_has_touchswitch(device)? "true" : "false");
print_supported_leds(fd, device);
Expand Down

0 comments on commit dbfeb61

Please sign in to comment.