… | |
… | |
538 | |
538 | |
539 | if (entry < optList_size) |
539 | if (entry < optList_size) |
540 | { |
540 | { |
541 | if (optList_isReverse (entry)) |
541 | if (optList_isReverse (entry)) |
542 | flag = flag == resval_on ? resval_off : resval_on; |
542 | flag = flag == resval_on ? resval_off : resval_on; |
543 | fprintf( stderr, "entry = %d, opt = [%s], flag = 0x%X, resval_on = %d\n", entry, opt, *flag, *resval_on ); |
|
|
544 | |
543 | |
545 | if (optList_strlen (entry)) |
544 | if (optList_strlen (entry)) |
546 | { |
545 | { |
547 | /* |
546 | /* |
548 | * special cases are handled in main.c:main () to allow |
547 | * special cases are handled in main.c:main () to allow |
549 | * X resources to set these values before we settle for |
548 | * X resources to set these values before we settle for |
550 | * default values |
549 | * default values |
551 | */ |
550 | */ |
552 | fprintf( stderr, "string\n"); |
|
|
553 | if (optList[entry].doff != -1) |
551 | if (optList[entry].doff != -1) |
554 | { |
552 | { |
555 | if (flag == resval_on && !argv [i+1]) |
553 | if (flag == resval_on && !argv [i+1]) |
556 | rxvt_fatal ("option '%s' needs an argument, aborting.\n", argv [i]); |
554 | rxvt_fatal ("option '%s' needs an argument, aborting.\n", argv [i]); |
557 | |
555 | |