… | |
… | |
405 | int len = 0; |
405 | int len = 0; |
406 | |
406 | |
407 | if (optList[i].arg) |
407 | if (optList[i].arg) |
408 | len = strlen (optList[i].arg) + 1; |
408 | len = strlen (optList[i].arg) + 1; |
409 | assert (optList[i].opt != NULL); |
409 | assert (optList[i].opt != NULL); |
410 | len += 4 + strlen (optList[i].opt) + (optList_isBool (i) ? 2: 0); |
410 | len += 4 + strlen (optList[i].opt) + (optList_isBool (i) ? 2 : 0); |
411 | col += len; |
411 | col += len; |
412 | if (col > 79) |
412 | if (col > 79) |
413 | { |
413 | { |
414 | /* assume regular width */ |
414 | /* assume regular width */ |
415 | rxvt_log ("\n"); |
415 | rxvt_log ("\n"); |