bug-gnu-emacs
[Top][All Lists]
Advanced

[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: Noam Postavsky
Subject: bug#30342: 25.3; xfont_draw in xfont.c does the same thing in both branches of an if statement
Date: Sat, 03 Feb 2018 21:14:41 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]