ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/xdefaults.C
(Generate patch)

Comparing rxvt-unicode/src/xdefaults.C (file contents):
Revision 1.124 by ayin, Sat Nov 24 10:32:33 2007 UTC vs.
Revision 1.125 by ayin, Mon Nov 26 11:20:16 2007 UTC

425 assert (optList[i].opt != NULL); 425 assert (optList[i].opt != NULL);
426#endif 426#endif
427 len += 4 + strlen (optList[i].opt) + (optList_isBool (i) ? 2: 0); 427 len += 4 + strlen (optList[i].opt) + (optList_isBool (i) ? 2: 0);
428 col += len; 428 col += len;
429 if (col > 79) 429 if (col > 79)
430 {
430 { /* assume regular width */ 431 /* assume regular width */
431 rxvt_log ("\n"); 432 rxvt_log ("\n");
432 col = 1 + len; 433 col = 1 + len;
433 } 434 }
434 435
435 rxvt_log (" [-%s%s", (optList_isBool (i) ? "/+" : ""), optList[i].opt); 436 rxvt_log (" [-%s%s", (optList_isBool (i) ? "/+" : ""), optList[i].opt);
553 554
554 rs[optList[entry].doff] = flag == resval_on ? argv[++i] : resval_undef; 555 rs[optList[entry].doff] = flag == resval_on ? argv[++i] : resval_undef;
555 } 556 }
556 } 557 }
557 else 558 else
559 {
558 { /* boolean value */ 560 /* boolean value */
559 set_option (optList[entry].index, flag == resval_on); 561 set_option (optList[entry].index, flag == resval_on);
560 562
561 if (optList[entry].doff != -1) 563 if (optList[entry].doff != -1)
562 rs[optList[entry].doff] = flag; 564 rs[optList[entry].doff] = flag;
563 } 565 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines