]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/imagbmp.cpp
Dont't finish any editing if there is no control
[wxWidgets.git] / src / common / imagbmp.cpp
index 4380d0b2d16107c0506e42c80a32c8586e83f7c2..807d3a7067e7ad878d790beb37acb4e2ea2625d7 100644 (file)
@@ -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: