Ignore:
Timestamp:
Mar 23, 2010, 2:53:39 PM (11 years ago)
Author:
dmik
Message:

branches/kmk: Made all Lucide SOM plugins build with kmk/gcc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/kmk/Lucide/plugins/ludoc/lupixbuf.cpp

    r222 r306  
    5454#define INCL_DOS
    5555#include <os2.h>
     56
    5657#include <assert.h>
     58#include <algorithm>
    5759
    5860#include "lupixbuf.xih"
     
    131133{
    132134    LuPixbufData *somThis = LuPixbufGetData(somSelf);
    133     int xlen = __min( somThis->width - x, p->getWidth( ev ) ) * somThis->bpp;
    134     int ylen = __min( somThis->height - y, p->getHeight( ev ) );
     135    int xlen = std::min( somThis->width - x, p->getWidth( ev ) ) * somThis->bpp;
     136    int ylen = std::min( somThis->height - y, p->getHeight( ev ) );
    135137    int rowstribe = p->getRowSize( ev );
    136138    char *fromdt = (char *)p->getDataPtr( ev );
Note: See TracChangeset for help on using the changeset viewer.