X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef5571c62ae14526f2234326bef1c0330d75b06e..357d2b88cb15fa0ad97b1676fdbc88c2abc85451:/src/common/imagbmp.cpp diff --git a/src/common/imagbmp.cpp b/src/common/imagbmp.cpp index 4380d0b2d1..807d3a7067 100644 --- a/src/common/imagbmp.cpp +++ b/src/common/imagbmp.cpp @@ -195,8 +195,8 @@ bool wxBMPHandler::SaveDib(wxImage *image, case wxIMAGE_RESOLUTION_INCHES: // convert resolution in inches to resolution in centimeters - hres = (wxUint32)(100*mm2inches*hres); - vres = (wxUint32)(100*mm2inches*vres); + hres = (wxUint32)(10*mm2inches*hres); + vres = (wxUint32)(10*mm2inches*vres); // fall through to convert it to resolution in meters case wxIMAGE_RESOLUTION_CM: