# HG changeset patch # User YAMAMOTO Mitsuharu # Date 1185525638 0 # Node ID ced9c6afe0130e8ac40903a0ac0481e359cd2c53 # Parent e0ebebf01b6d4d5f794e292c8f6e543cdb7cef57 (struct scroll_bar): New member fringe_extended_p. (w32_fill_area): Enclose multiple statements with do ... while (0). diff -r e0ebebf01b6d -r ced9c6afe013 src/w32term.h --- a/src/w32term.h Fri Jul 27 08:40:30 2007 +0000 +++ b/src/w32term.h Fri Jul 27 08:40:38 2007 +0000 @@ -487,6 +487,10 @@ place where the user grabbed it. If the handle isn't currently being dragged, this is Qnil. */ Lisp_Object dragging; + + /* t if the background of the fringe that is adjacent to a scroll + bar is extended to the gap between the fringe and the bar. */ + Lisp_Object fringe_extended_p; }; /* The number of elements a vector holding a struct scroll_bar needs. */ @@ -576,14 +580,14 @@ extern void w32_clear_window (); #define w32_fill_area(f,hdc,pix,x,y,nx,ny) \ -{ \ +do { \ RECT rect; \ rect.left = x; \ rect.top = y; \ rect.right = x + nx; \ rect.bottom = y + ny; \ w32_fill_rect (f,hdc,pix,&rect); \ -} +} while (0) #define w32_clear_rect(f,hdc,lprect) \ w32_fill_rect (f,hdc,f->output_data.x->background_pixel,lprect)