Deactivate last line / column.

This causes the check_00() and check_90() to fail.
master
Fabien Freling 2014-08-06 23:12:44 +02:00
parent 817b1a779b
commit eb710efc68
1 changed files with 2 additions and 2 deletions

View File

@ -620,7 +620,7 @@ Image* rotate(Image const& src, double angle)
for (int x = 0; x < core_pixels; ++x, ++buffer_index) for (int x = 0; x < core_pixels; ++x, ++buffer_index)
{ {
if (src_rotated_point.x < 0 || src_rotated_point.y < 0 if (src_rotated_point.x < 0 || src_rotated_point.y < 0
|| src_rotated_point.x >= src_qwidth || src_rotated_point.y >= src_qheight) || src_rotated_point.x >= src_qwidth - q_pos || src_rotated_point.y >= src_qheight - q_pos)
{ {
// LOG << "Out-of-bounds point!" << endl; // LOG << "Out-of-bounds point!" << endl;
// cout << " x: " << x << endl; // cout << " x: " << x << endl;
@ -861,7 +861,7 @@ int main(int argc, char* argv[])
return 1; return 1;
} }
bool perform_check = true; bool perform_check = false;
if (perform_check) if (perform_check)
{ {