emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/src/w32fns.c


From: Dave Love
Subject: [Emacs-diffs] Changes to emacs/src/w32fns.c
Date: Wed, 12 Feb 2003 13:02:54 -0500

Index: emacs/src/w32fns.c
diff -c emacs/src/w32fns.c:1.207 emacs/src/w32fns.c:1.208
*** emacs/src/w32fns.c:1.207    Sat Feb  1 18:54:34 2003
--- emacs/src/w32fns.c  Tue Feb  4 09:03:13 2003
***************
*** 10489,10495 ****
       string buffer containing data in the same format as an XPM file.  */
  
    specified_file = image_spec_value (img->spec, QCfile, NULL);
!   
    {
      HDC frame_dc = get_frame_dc (f);
      hdc = CreateCompatibleDC (frame_dc);
--- 10489,10495 ----
       string buffer containing data in the same format as an XPM file.  */
  
    specified_file = image_spec_value (img->spec, QCfile, NULL);
! 
    {
      HDC frame_dc = get_frame_dc (f);
      hdc = CreateCompatibleDC (frame_dc);
***************
*** 10535,10541 ****
          fn_XImageFree (xpm_image);
        }
        if (xpm_mask && xpm_mask->bitmap)
!       {         
          /* The mask appears to be inverted compared with what we expect.
             TODO: invert our expectations.  See other places where we
             have to invert bits because our idea of masks is backwards.  */
--- 10535,10541 ----
          fn_XImageFree (xpm_image);
        }
        if (xpm_mask && xpm_mask->bitmap)
!       {
          /* The mask appears to be inverted compared with what we expect.
             TODO: invert our expectations.  See other places where we
             have to invert bits because our idea of masks is backwards.  */
***************
*** 10546,10552 ****
          SelectObject (hdc, old_obj);
  
          img->mask = xpm_mask->bitmap;
!         fn_XImageFree (xpm_mask);       
          DeleteDC (hdc);
        }
  
--- 10546,10552 ----
          SelectObject (hdc, old_obj);
  
          img->mask = xpm_mask->bitmap;
!         fn_XImageFree (xpm_mask);
          DeleteDC (hdc);
        }
  




reply via email to

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