Ignore:
Timestamp:
Jul 29, 2009, 6:00:25 PM (10 years ago)
Author:
Pascal Terjan
Message:
  • Fix a segfault in rotate_180 on 0 sized canvas
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/transform.c

    r3583 r3590  
    191191    uint32_t *aend = abegin + cv->width * cv->height - 1;
    192192    int y;
     193
     194    if(!cbegin)
     195        return 0;
    193196
    194197    while(cbegin < cend)
Note: See TracChangeset for help on using the changeset viewer.