summaryrefslogtreecommitdiff
path: root/dw/image.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dw/image.cc')
-rw-r--r--dw/image.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/dw/image.cc b/dw/image.cc
index 20460f33..d6c2ea9d 100644
--- a/dw/image.cc
+++ b/dw/image.cc
@@ -213,10 +213,10 @@ void Image::sizeRequestImpl (core::Requisition *requisition)
// dimensions limited to 2^15?)
bool widthSpecified = getStyle()->width != core::style::LENGTH_AUTO ||
- getStyle()->minWidth != core::style::LENGTH_AUTO ||
+ getStyle()->minWidth != core::style::LENGTH_AUTO ||
getStyle()->maxWidth != core::style::LENGTH_AUTO;
bool heightSpecified = getStyle()->height != core::style::LENGTH_AUTO ||
- getStyle()->minHeight != core::style::LENGTH_AUTO ||
+ getStyle()->minHeight != core::style::LENGTH_AUTO ||
getStyle()->maxHeight != core::style::LENGTH_AUTO;
if (!widthSpecified && heightSpecified)