projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Interim work on creating projections from an imagefile
[ctsim.git]
/
src
/
views.cpp
diff --git
a/src/views.cpp
b/src/views.cpp
index ea03d88be2646479c00f7f0291436fd12e877132..7e6de1d411250a42918c0336e38a3667429935d6 100644
(file)
--- a/
src/views.cpp
+++ b/
src/views.cpp
@@
-340,7
+340,7
@@
ImageFileView::OnScaleMinMax (wxCommandEvent& event)
{
const ImageFile& rIF = GetDocument()->getImageFile();
double min, max;
- if (! m_bMinSpecified
&&
! m_bMaxSpecified)
+ if (! m_bMinSpecified
||
! m_bMaxSpecified)
rIF.getMinMax (min, max);
if (m_bMinSpecified)