From 635174a687c4c88b2ca1cdfd12b85889029ea368 Mon Sep 17 00:00:00 2001 From: Nicolas Boichat Date: Thu, 10 Mar 2005 17:16:50 +0000 Subject: [PATCH] Fix bug #0000221 (Debian 292517) git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1881 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/wx-console/CHANGELOG | 3 +++ bacula/src/wx-console/wxbmainframe.cpp | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/bacula/src/wx-console/CHANGELOG b/bacula/src/wx-console/CHANGELOG index 3044796763..657239a799 100644 --- a/bacula/src/wx-console/CHANGELOG +++ b/bacula/src/wx-console/CHANGELOG @@ -1,3 +1,6 @@ +10-03-2005 : + - wxbMainFrame : Fix bug #0000221 (Debian 292517) + 13-08-2004 : - wxbHistoryTextCtrl : Fixed Win32 build error - general : implemented command completion and interactive help. diff --git a/bacula/src/wx-console/wxbmainframe.cpp b/bacula/src/wx-console/wxbmainframe.cpp index 15b6e85e93..5f03634826 100644 --- a/bacula/src/wx-console/wxbmainframe.cpp +++ b/bacula/src/wx-console/wxbmainframe.cpp @@ -647,8 +647,8 @@ void wxbMainFrame::Print(wxString str, int status) int res = ::wxGetSingleChoiceIndex(message, "wx-console: unexpected director's question.", n, choices, this); - if (res == -1) { - Send("\n"); + if (res == -1) { //Cancel pressed + Send(".\n"); } else { if (promptparser->isNumericalChoice()) { -- 2.39.5