From: Nicolas Boichat Date: Thu, 10 Mar 2005 17:16:50 +0000 (+0000) Subject: Fix bug #0000221 (Debian 292517) X-Git-Tag: Release-1.38.0~601 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=635174a687c4c88b2ca1cdfd12b85889029ea368;p=bacula%2Fbacula Fix bug #0000221 (Debian 292517) git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1881 91ce42f0-d328-0410-95d8-f526ca767f89 --- 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()) {