X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dd9ea234f2e8802e182194bfe375079d1bdd1ccf..ad4e3f7be6f20d5a164a608b44c51056231ddad9:/src/common/image.cpp diff --git a/src/common/image.cpp b/src/common/image.cpp index e967b8ece9..8d1794a51d 100644 --- a/src/common/image.cpp +++ b/src/common/image.cpp @@ -380,7 +380,7 @@ wxImage wxImage::ShrinkBy( int xFactor , int yFactor ) const } } - // In case this is a cursor, make sure the hotspot is scalled accordingly: + // In case this is a cursor, make sure the hotspot is scaled accordingly: if ( HasOption(wxIMAGE_OPTION_CUR_HOTSPOT_X) ) image.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X, (GetOptionInt(wxIMAGE_OPTION_CUR_HOTSPOT_X))/xFactor); @@ -466,7 +466,7 @@ wxImage wxImage::Scale( int width, int height ) const y += y_delta; } - // In case this is a cursor, make sure the hotspot is scalled accordingly: + // In case this is a cursor, make sure the hotspot is scaled accordingly: if ( HasOption(wxIMAGE_OPTION_CUR_HOTSPOT_X) ) image.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X, (GetOptionInt(wxIMAGE_OPTION_CUR_HOTSPOT_X)*width)/old_width);