emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Extending fringe backgrounds to scroll bar gaps


From: Juanma Barranquero
Subject: Re: Extending fringe backgrounds to scroll bar gaps
Date: Thu, 21 Jun 2007 00:42:27 +0200

On 6/15/07, YAMAMOTO Mitsuharu <address@hidden> wrote:

Yes.  But as I can't test it with W32, could Windows users try the
following patch?

I've had to use "do {...} while (0)" in the definition of
w32_fill_area() in w32term.h in order to compile with your patch.

As for results, see the attached image. I don't think that was the
intended effect...

    Juanma



Index: src/w32term.h
===================================================================
RCS file: /cvsroot/emacs/emacs/src/w32term.h,v
retrieving revision 1.68
diff -u -2 -r1.68 w32term.h
--- src/w32term.h       22 Feb 2007 22:50:15 -0000      1.68
+++ src/w32term.h       20 Jun 2007 22:33:11 -0000
@@ -577,5 +581,5 @@

#define w32_fill_area(f,hdc,pix,x,y,nx,ny) \
-{ \
+do { \
    RECT rect; \
    rect.left = x; \
@@ -584,5 +588,6 @@
    rect.bottom = y + ny; \
    w32_fill_rect (f,hdc,pix,&rect); \
-}
+} while (0)
+

#define w32_clear_rect(f,hdc,lprect) \

Attachment: emacs.png
Description: PNG image


reply via email to

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