/[emacs]/emacs/src/w32fns.c
ViewVC logotype

Diff of /emacs/src/w32fns.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.207 by jasonr, Sat Feb 1 23:54:34 2003 UTC revision 1.208 by lektu, Tue Feb 4 14:03:13 2003 UTC
# Line 10489  xpm_load (f, img) Line 10489  xpm_load (f, img)
10489       string buffer containing data in the same format as an XPM file.  */       string buffer containing data in the same format as an XPM file.  */
10490    
10491    specified_file = image_spec_value (img->spec, QCfile, NULL);    specified_file = image_spec_value (img->spec, QCfile, NULL);
10492      
10493    {    {
10494      HDC frame_dc = get_frame_dc (f);      HDC frame_dc = get_frame_dc (f);
10495      hdc = CreateCompatibleDC (frame_dc);      hdc = CreateCompatibleDC (frame_dc);
# Line 10535  xpm_load (f, img) Line 10535  xpm_load (f, img)
10535            fn_XImageFree (xpm_image);            fn_XImageFree (xpm_image);
10536          }          }
10537        if (xpm_mask && xpm_mask->bitmap)        if (xpm_mask && xpm_mask->bitmap)
10538          {                  {
10539            /* The mask appears to be inverted compared with what we expect.            /* The mask appears to be inverted compared with what we expect.
10540               TODO: invert our expectations.  See other places where we               TODO: invert our expectations.  See other places where we
10541               have to invert bits because our idea of masks is backwards.  */               have to invert bits because our idea of masks is backwards.  */
# Line 10546  xpm_load (f, img) Line 10546  xpm_load (f, img)
10546            SelectObject (hdc, old_obj);            SelectObject (hdc, old_obj);
10547    
10548            img->mask = xpm_mask->bitmap;            img->mask = xpm_mask->bitmap;
10549            fn_XImageFree (xpm_mask);                  fn_XImageFree (xpm_mask);
10550            DeleteDC (hdc);            DeleteDC (hdc);
10551          }          }
10552    

Legend:
Removed from v.1.207  
changed lines
  Added in v.1.208

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26