Changeset 4141

Show
Ignore:
Timestamp:
08/17/06 07:52:15 (2 years ago)
Author:
miyoshi
Message:

(mw32_WndProc<WM_ERASEBKGND>): Return 0 if there is no
update region.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/ChangeLog.Meadow

    r4140 r4141  
     12006-08-17  MIYOSHI Masanori  <miyoshi@meadowy.org> 
     2 
     3        * mw32fns.c (mw32_WndProc<WM_ERASEBKGND>): Return 0 if there is no 
     4        update region. 
     5 
    162006-08-10  MIYOSHI Masanori  <miyoshi@meadowy.org> 
    27 
  • trunk/src/mw32fns.c

    r4135 r4141  
    19031903      int orefcount; 
    19041904      HDC ohdc; 
     1905      int ret; 
    19051906 
    19061907      orefcount = f->output_data.mw32->hdc_nestlevel; 
     
    19101911      f->output_data.mw32->hdc_nestlevel = 1; 
    19111912 
    1912       if (GetUpdateRect (FRAME_MW32_WINDOW (f), &rect, FALSE)) 
     1913      ret = GetUpdateRect (FRAME_MW32_WINDOW (f), &rect, FALSE); 
     1914      if (ret) 
    19131915        mw32_clear_native_frame_area (f, rect.left, rect.top, 
    19141916                                      rect.right, rect.bottom); 
     
    19171919      f->output_data.mw32->hdc_nestlevel = orefcount; 
    19181920 
    1919       return 1
     1921      return ret ? 1 : 0
    19201922    } 
    19211923