Changeset 3497 for libcaca/trunk


Ignore:
Timestamp:
May 22, 2009, 9:51:48 AM (11 years ago)
Author:
Pascal Terjan
Message:

Fix limits settings in area export

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/codec/export.c

    r3495 r3497  
    147147
    148148    if(w < 0 || h < 0 || x < 0 || y < 0
    149         || x + w >= cv->width || y + h >= cv->height)
     149        || x + w > cv->width || y + h > cv->height)
    150150    {
    151151        seterrno(EINVAL);
Note: See TracChangeset for help on using the changeset viewer.