diff --git a/src/apps/showimage/ShowImageView.cpp b/src/apps/showimage/ShowImageView.cpp index f57d8f13b1..44689087f7 100644 --- a/src/apps/showimage/ShowImageView.cpp +++ b/src/apps/showimage/ShowImageView.cpp @@ -1646,7 +1646,7 @@ ShowImageView::KeyDown(const char* bytes, int32 numBytes) return; } - bool shiftKeyDown = (modifiers() & B_SHIFT_KEY) > 0; + bool shiftKeyDown = (modifiers() & B_SHIFT_KEY) != 0; switch (*bytes) { case B_DOWN_ARROW: @@ -1715,6 +1715,12 @@ ShowImageView::KeyDown(const char* bytes, int32 numBytes) case '-': ZoomOut(); break; + case '[': + Rotate(270); + break; + case ']': + Rotate(90); + break; } }