Changeset 11986 in osm


Ignore:
Timestamp:
2008-11-19T18:16:40+01:00 (16 years ago)
Author:
stoecker
Message:

minor fix for windows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/wmsplugin/webkit-image.cpp

    r11394 r11986  
    4343        for(int y = 0; iswhite && y < ysize; ++y)
    4444        {
    45           if(im.pixel(x, y) != white)
     45          QRgb p = im.pixel(x, y);
     46          if(p != white && p)
    4647            iswhite = false;
    4748        }
     
    5455        for(int x = 0; iswhite && x < xsize; ++x)
    5556        {
    56           if(im.pixel(x, y) != white)
     57          QRgb p = im.pixel(x, y);
     58          if(p != white && p)
    5759            iswhite = false;
    5860        }
Note: See TracChangeset for help on using the changeset viewer.