repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: 2d221a222e7acd8b591b44ea163e17db71193ec7: path_to: revision_to:
commit 2d221a222e7acd8b591b44ea163e17db71193ec7 Author: Marc LehmannDate: Tue Jan 17 20:27:41 2012 +0000 fix an exg bug diff --git a/src/rxvtfont.C b/src/rxvtfont.C
--- a/src/rxvtfont.C
+++ b/src/rxvtfont.C
@@ -820,7 +820,7 @@ rxvt_font_x11::load (const rxvt_fontprop &prop, bool force_prop)
{
font_weight *best = fonts + count - 1;
- for (font_weight *w = fonts; w < best; w++)
+ for (font_weight *w = fonts; w < fonts + count - 1; w++)
if (w->diff <= best->diff)
best = w;
-----END OF PAGE-----