--- rxvt-unicode/src/init.C 2006/01/31 19:11:43 1.165 +++ rxvt-unicode/src/init.C 2006/01/31 19:53:30 1.166 @@ -299,6 +299,7 @@ if (!(display = displays.get (rs[Rs_display_name]))) rxvt_fatal ("can't open display %s, aborting.\n", rs[Rs_display_name]); + // using a local pointer decreases code size a lot xa = display->xa; #if XFT @@ -310,6 +311,10 @@ extract_resources (); + for (int i = NUM_RESOURCES; i--; ) + if (rs [i] == resval_undef) + rs [i] = 0; + free (r_argv); #if ENABLE_PERL @@ -710,7 +715,7 @@ for (i = 0; i < (depth <= 2 ? 2 : NRS_COLORS); i++) { rgba c; - pix_colors[Color_fade].get (this, c); + pix_colors[Color_fade].get (c); pix_colors_focused[i].fade (this, atoi (rs[Rs_fade]), pix_colors_unfocused[i],c); } #endif @@ -749,8 +754,8 @@ rgba c0, c1; - xcol[0].get (this, c0); - xcol[1].get (this, c1); + xcol[0].get (c0); + xcol[1].get (c1); xcol[1].fade (this, 50, pix_colors[Color_bottomShadow]);