projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix the crash that the previous commit half-fixed.
[synfig.git]
/
ETL
/
trunk
/
test
/
pen.cpp
diff --git
a/ETL/trunk/test/pen.cpp
b/ETL/trunk/test/pen.cpp
index
35ce509
..
92b004f
100644
(file)
--- a/
ETL/trunk/test/pen.cpp
+++ b/
ETL/trunk/test/pen.cpp
@@
-88,31
+88,31
@@
int generic_pen_test(int w, int h)
if(diff.x!=w || diff.y!=h)
{
if(diff.x!=w || diff.y!=h)
{
- printf("FAILURE! "__FILE__"@%d: pen difference inconsist
a
ncy ([%d,%d]!=[%d,%d])\n",__LINE__,diff.x,diff.y,w,h);
+ printf("FAILURE! "__FILE__"@%d: pen difference inconsist
e
ncy ([%d,%d]!=[%d,%d])\n",__LINE__,diff.x,diff.y,w,h);
return 1;
}
if(pen.end_x()-pen.x()!=w-1)
{
return 1;
}
if(pen.end_x()-pen.x()!=w-1)
{
- printf("FAILURE! "__FILE__"@%d: iterator_x inconsist
a
ncy (%d!=%d)\n",__LINE__,pen.end_x()-pen.x(),w);
+ printf("FAILURE! "__FILE__"@%d: iterator_x inconsist
e
ncy (%d!=%d)\n",__LINE__,pen.end_x()-pen.x(),w);
return 1;
}
if(pen.end_y()-pen.y()!=h-1)
{
return 1;
}
if(pen.end_y()-pen.y()!=h-1)
{
- printf("FAILURE! "__FILE__"@%d: iterator_y inconsist
a
ncy (%d!=%d)\n",__LINE__,pen.end_y()-pen.y(),h);
+ printf("FAILURE! "__FILE__"@%d: iterator_y inconsist
e
ncy (%d!=%d)\n",__LINE__,pen.end_y()-pen.y(),h);
return 1;
}
if(&pen.end_y()[-1]!=&pen.y()[(h-2)])
{
return 1;
}
if(&pen.end_y()[-1]!=&pen.y()[(h-2)])
{
- printf("FAILURE! "__FILE__"@%d: iterator_y inconsist
a
ncy\n",__LINE__);
+ printf("FAILURE! "__FILE__"@%d: iterator_y inconsist
e
ncy\n",__LINE__);
return 1;
}
if(&pen.end_x()[-1]!=&pen.x()[(w-2)])
{
return 1;
}
if(&pen.end_x()[-1]!=&pen.x()[(w-2)])
{
- printf("FAILURE! "__FILE__"@%d: iterator_x inconsist
a
ncy\n",__LINE__);
+ printf("FAILURE! "__FILE__"@%d: iterator_x inconsist
e
ncy\n",__LINE__);
return 1;
}
return 1;
}