… | |
… | |
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"); |
… | |
… | |
585 | * Define key from XrmEnumerateDatabase. |
585 | * Define key from XrmEnumerateDatabase. |
586 | * quarks will be something like |
586 | * quarks will be something like |
587 | * "rxvt" "keysym" "0xFF01" |
587 | * "rxvt" "keysym" "0xFF01" |
588 | * value will be a string |
588 | * value will be a string |
589 | */ |
589 | */ |
590 | /* ARGSUSED */ |
|
|
591 | int |
590 | int |
592 | rxvt_define_key (XrmDatabase *database UNUSED, |
591 | rxvt_define_key (XrmDatabase *database UNUSED, |
593 | XrmBindingList bindings UNUSED, |
592 | XrmBindingList bindings UNUSED, |
594 | XrmQuarkList quarks, |
593 | XrmQuarkList quarks, |
595 | XrmRepresentation *type UNUSED, |
594 | XrmRepresentation *type UNUSED, |