From 6574ee0747b6046496c49ddf9b8b335a103e1688 Mon Sep 17 00:00:00 2001 From: Matthew Wilber Date: Tue, 23 Dec 2003 23:45:26 +0000 Subject: [PATCH] Removed some debug print statements, set the maximum allowed Zoom to 1600% git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5744 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/showimage/ShowImageView.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/apps/showimage/ShowImageView.cpp b/src/apps/showimage/ShowImageView.cpp index a65a083dff..ed3b377bd7 100644 --- a/src/apps/showimage/ShowImageView.cpp +++ b/src/apps/showimage/ShowImageView.cpp @@ -1461,8 +1461,6 @@ ShowImageView::MessageReceived(BMessage *pmsg) break; case B_COPY_TARGET: - printf("\n\nB_COPY_TARGET:\n"); - pmsg->PrintToStream(); HandleDrop(pmsg); break; case B_MOUSE_WHEEL_CHANGED: @@ -1894,7 +1892,9 @@ ShowImageView::SetZoom(float zoom) void ShowImageView::ZoomIn() { - SetZoom(fZoom + 0.25); + if (fZoom < 16) { + SetZoom(fZoom + 0.25); + } } void