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.139 by root, Sun Mar 29 10:43:38 2009 UTC vs.
Revision 1.141 by root, Sat Dec 26 10:24:04 2009 UTC

227 STRG (Rs_ext_bwidth, NULL, "bw", NULL, NULL), 227 STRG (Rs_ext_bwidth, NULL, "bw", NULL, NULL),
228 STRG (Rs_ext_bwidth, NULL, "borderwidth", NULL, NULL), 228 STRG (Rs_ext_bwidth, NULL, "borderwidth", NULL, NULL),
229 STRG (Rs_int_bwidth, "internalBorder", "b", "number", "internal border in pixels"), 229 STRG (Rs_int_bwidth, "internalBorder", "b", "number", "internal border in pixels"),
230 BOOL (Rs_borderLess, "borderLess", "bl", Opt_borderLess, 0, "borderless window"), 230 BOOL (Rs_borderLess, "borderLess", "bl", Opt_borderLess, 0, "borderless window"),
231 STRG (Rs_lineSpace, "lineSpace", "lsp", "number", "number of extra pixels between rows"), 231 STRG (Rs_lineSpace, "lineSpace", "lsp", "number", "number of extra pixels between rows"),
232 STRG (Rs_letterSpace, "letterSpace", "letsp", "number", "letter spacing adjustment"),
232#endif 233#endif
233#ifdef BUILTIN_GLYPHS 234#ifdef BUILTIN_GLYPHS
234 BOOL (Rs_skipBuiltinGlyphs, "skipBuiltinGlyphs", "sbg", Opt_skipBuiltinGlyphs, 0, "do not use internal glyphs"), 235 BOOL (Rs_skipBuiltinGlyphs, "skipBuiltinGlyphs", "sbg", Opt_skipBuiltinGlyphs, 0, "do not use internal glyphs"),
235#endif 236#endif
236#ifdef POINTER_BLANK 237#ifdef POINTER_BLANK
400 { 401 {
401 int len = 0; 402 int len = 0;
402 403
403 if (optList[i].arg) 404 if (optList[i].arg)
404 len = strlen (optList[i].arg) + 1; 405 len = strlen (optList[i].arg) + 1;
405#ifdef DEBUG_STRICT
406 assert (optList[i].opt != NULL); 406 assert (optList[i].opt != NULL);
407#endif
408 len += 4 + strlen (optList[i].opt) + (optList_isBool (i) ? 2: 0); 407 len += 4 + strlen (optList[i].opt) + (optList_isBool (i) ? 2: 0);
409 col += len; 408 col += len;
410 if (col > 79) 409 if (col > 79)
411 { 410 {
412 /* assume regular width */ 411 /* assume regular width */
426 rxvt_log (" [options] [-e command args]\n\nwhere options include:\n"); 425 rxvt_log (" [options] [-e command args]\n\nwhere options include:\n");
427 426
428 for (i = 0; i < optList_size; i++) 427 for (i = 0; i < optList_size; i++)
429 if (optList[i].desc != NULL) 428 if (optList[i].desc != NULL)
430 { 429 {
431#ifdef DEBUG_STRICT
432 assert (optList[i].opt != NULL); 430 assert (optList[i].opt != NULL);
433#endif
434 rxvt_log (" %s%s %-*s%s%s\n", 431 rxvt_log (" %s%s %-*s%s%s\n",
435 (optList_isBool (i) ? "-/+" : "-"), optList[i].opt, 432 (optList_isBool (i) ? "-/+" : "-"), optList[i].opt,
436 (INDENT - strlen (optList[i].opt) 433 (INDENT - strlen (optList[i].opt)
437 + (optList_isBool (i) ? 0 : 2)), 434 + (optList_isBool (i) ? 0 : 2)),
438 (optList[i].arg ? optList[i].arg : ""), 435 (optList[i].arg ? optList[i].arg : ""),

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines