Index: main.c =================================================================== --- main.c (revision 1238) +++ main.c (working copy) @@ -387,7 +387,10 @@ if (fExp != 1.0) { fDeltaX = (nDeltaX < 0) ? -pow(-nDeltaX, fExp) : pow(nDeltaX, fExp); fDeltaY = (nDeltaY < 0) ? -pow(-nDeltaY, fExp) : pow(nDeltaY, fExp); - } + } else { + fDeltaX = (float)nDeltaX; + fDeltaY = (float)nDeltaY; + } /* Linear adjustment */ if (fLin != 1.0) {