projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09b898e
)
fix bad typo in the code: wxIMAGE_OPTION_RESOLUTION option was used where wxIMAGE_OPT...
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Mon, 17 Nov 2008 14:27:35 +0000
(14:27 +0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Mon, 17 Nov 2008 14:27:35 +0000
(14:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56824
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/common/imagbmp.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/common/imagbmp.cpp
b/src/common/imagbmp.cpp
index 4ba94c276e1afafa00ee804570c6ee12469be081..83a22d91eafb4e00a0c1a3a2ced2966684b53116 100644
(file)
--- a/
src/common/imagbmp.cpp
+++ b/
src/common/imagbmp.cpp
@@
-182,7
+182,7
@@
bool wxBMPHandler::SaveDib(wxImage *image,
// for the BMP format if not specified
wxUint32 hres = image->GetOptionInt(wxIMAGE_OPTION_RESOLUTIONX),
vres = image->GetOptionInt(wxIMAGE_OPTION_RESOLUTIONY);
- switch ( image->GetOptionInt(wxIMAGE_OPTION_RESOLUTION) )
+ switch ( image->GetOptionInt(wxIMAGE_OPTION_RESOLUTION
UNIT
) )
{
default:
wxFAIL_MSG( _T("unexpected image resolution units") );