[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#30342: 25.3; xfont_draw in xfont.c does the same thing in both branc
From: |
Eli Zaretskii |
Subject: |
bug#30342: 25.3; xfont_draw in xfont.c does the same thing in both branches of an if statement |
Date: |
Sun, 04 Feb 2018 18:17:58 +0200 |
> From: Noam Postavsky <npostavs@users.sourceforge.net>
> Date: Sat, 03 Feb 2018 21:14:41 -0500
> Cc: 30342@debbugs.gnu.org
>
> Daniel Brooks <db48x@db48x.net> writes:
>
> > I happened to be looking at this function and noticed that both sides of
> > the with_background condition do exactly the same thing; I'm sure it
> > gradually got so.
> >
> > http://git.savannah.gnu.org/cgit/emacs.git/tree/src/xfont.c#n1046
>
> They don't do *exactly* the same thing, one calls XDrawString and the
> other XDrawImageString.
Right. So I think there's no problem here, and this bug can be
closed.