diff --git a/core/libs/dimg/dimg.cpp b/core/libs/dimg/dimg.cpp
index 4a99e75..941f8ed 100644
a
|
b
|
void DImg::rotate(ANGLE angle) |
2355 | 2355 | for (uint y = 0; y < ymax; ++y) |
2356 | 2356 | { |
2357 | 2357 | line1 = data + y * w; |
2358 | | line2 = data + (h - y) * w; |
| 2358 | line2 = data + (h - y) * w - 1; |
2359 | 2359 | |
2360 | 2360 | for (uint x = 0; x < w; ++x) |
2361 | 2361 | { |
… |
… |
void DImg::rotate(ANGLE angle) |
2387 | 2387 | for (uint y = 0; y < ymax; ++y) |
2388 | 2388 | { |
2389 | 2389 | line1 = data + y * w; |
2390 | | line2 = data + (h - y) * w; |
| 2390 | line2 = data + (h - y) * w - 1; |
2391 | 2391 | |
2392 | 2392 | for (uint x = 0; x < w; ++x) |
2393 | 2393 | { |