This website works better with JavaScript.
Home
Help
Sign In
cacalabs
/
libcaca
mirror of
https://github.com/cacalabs/libcaca.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
7
Wiki
Activity
Browse Source
Fix limits settings in area export
tags/v0.99.beta17
Pascal Terjan
pterjan
15 years ago
parent
d3ef2bbecd
commit
ac9b1074b4
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
caca/codec/export.c
+ 1
- 1
caca/codec/export.c
View File
@@ -146,7 +146,7 @@ void *caca_export_area_to_memory(caca_canvas_t const *cv, int x, int y, int w,
void *ret;
if(w < 0 || h < 0 || x < 0 || y < 0
|| x + w >
=
cv->width || y + h >
=
cv->height)
|| x + w > cv->width || y + h > cv->height)
{
seterrno(EINVAL);
return NULL;
Write
Preview
Loading…
Cancel
Save