diff options
Diffstat (limited to 'src/list.c')
-rw-r--r-- | src/list.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -159,7 +159,10 @@ print_classes_xi2(Display* display, XIAnyClassInfo **classes, for (j = 0; j < b->num_buttons; j++) { name = (b->labels[j]) ? XGetAtomName(display, b->labels[j]) : NULL; - printf(" %s", (name) ? name : "None"); + if (name) + printf(" \"%s\"", name); + else + printf(" None"); XFree(name); } printf("\n"); |