diff --git a/tools/libinput-record.c b/tools/libinput-record.c index f04d5cde..3ad593fc 100644 --- a/tools/libinput-record.c +++ b/tools/libinput-record.c @@ -180,7 +180,7 @@ iprintf(FILE *fp, int rc; assert(indent < len); - assert(strlen(format) > 1); + assert(strlen(format) >= 1); /* Special case: if we're printing a new list item, we want less * indentation because the '- ' takes up one level of indentation