16 lines
333 B
Diff
16 lines
333 B
Diff
--- SDL_gfxPrimitives.c.orig 2006-12-20 18:14:28.810409662 +0100
|
|
+++ SDL_gfxPrimitives.c 2006-12-20 18:19:52.144403556 +0100
|
|
@@ -3565,10 +3565,10 @@
|
|
}
|
|
}
|
|
if (maxx <0 || minx > dst->w){
|
|
- return;
|
|
+ return -1;
|
|
}
|
|
if (maxy <0 || miny > dst->h){
|
|
- return;
|
|
+ return -1;
|
|
}
|
|
|
|
/*
|