From 5e09d5dbe5f6567e3324521a2b0e818e6827f5eb Mon Sep 17 00:00:00 2001 From: Ryan Leavengood Date: Wed, 26 Apr 2006 03:05:50 +0000 Subject: [PATCH] 1. Added myself to About box. 2. Fixed bug 537. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17234 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/showimage/ShowImageApp.cpp | 2 +- src/apps/showimage/ShowImageWindow.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/apps/showimage/ShowImageApp.cpp b/src/apps/showimage/ShowImageApp.cpp index 54f50384bb..ccba341b32 100644 --- a/src/apps/showimage/ShowImageApp.cpp +++ b/src/apps/showimage/ShowImageApp.cpp @@ -44,7 +44,7 @@ void ShowImageApp::AboutRequested() { BAlert* alert = new BAlert("About ShowImage", - "Haiku ShowImage\n\nby Fernando F. Oliveira, Michael Wilber and Michael Pfeiffer", "OK"); + "Haiku ShowImage\n\nby Fernando F. Oliveira, Michael Wilber, Michael Pfeiffer and Ryan Leavengood", "OK"); alert->Go(); } diff --git a/src/apps/showimage/ShowImageWindow.cpp b/src/apps/showimage/ShowImageWindow.cpp index 9d9ef205ed..79c9d8a59d 100644 --- a/src/apps/showimage/ShowImageWindow.cpp +++ b/src/apps/showimage/ShowImageWindow.cpp @@ -168,8 +168,8 @@ ShowImageWindow::ShowImageWindow(const entry_ref *ref, B_WIDTH_AS_USUAL, B_INFO_ALERT); alert->Go(); - // exit if file could not be opened - PostMessage(B_QUIT_REQUESTED); + // quit if file could not be opened + Quit(); return; }