From: root Date: Sat, 4 Dec 2004 02:55:23 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.openbox.org/?p=dana%2Furxvt.git;a=commitdiff_plain;h=782330f3b985d5cb6fbd75b910ca6420ed31743a *** empty log message *** --- diff --git a/doc/rxvt-unicode.spec b/doc/rxvt-unicode.spec index 4db9124..758af4a 100644 --- a/doc/rxvt-unicode.spec +++ b/doc/rxvt-unicode.spec @@ -1,5 +1,5 @@ Name: rxvt-unicode -Version: 4.1 +Version: 4.2 Release: 1 Summary: rxvt-unicode is an unicode version of rxvt License: GPL @@ -43,6 +43,10 @@ tic -o $RPM_BUILD_ROOT/%_datadir/terminfo doc/etc/rxvt-unicode.terminfo %{_mandir}/man7/* %{_datadir}/terminfo/r/* + %changelog +* Mon Dec 01 2004 vherva@babbage 4.2-1 +- 4.2 + * Mon Nov 27 2004 vherva@babbage 4.1-1 - 4.1 diff --git a/src/rxvtfont.C b/src/rxvtfont.C index 3f602fe..b6c3452 100644 --- a/src/rxvtfont.C +++ b/src/rxvtfont.C @@ -345,9 +345,14 @@ rxvt_font_default::draw (rxvt_drawable &d, int x, int y, uint32_t *a = linedraw_command + (offs >> 4); uint32_t *b = a + (offs & 15); - int W = r->TermWin.fwidth * wcwidth (t); + int W = r->TermWin.fwidth; int H = r->TermWin.fheight; + // support double-width (but not more) graphics chars + // TODO: do this outside the if/elsif.. statement for all cases + if (len && *text == NOCHAR) + W += r->TermWin.fwidth; + int x_[16]; int y_[16];