]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix bug #0000221 (Debian 292517)
authorNicolas Boichat <nicolas@boichat.ch>
Thu, 10 Mar 2005 17:16:50 +0000 (17:16 +0000)
committerNicolas Boichat <nicolas@boichat.ch>
Thu, 10 Mar 2005 17:16:50 +0000 (17:16 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1881 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/wx-console/CHANGELOG
bacula/src/wx-console/wxbmainframe.cpp

index 30447967633425215ab3b30b00b1da9eb362dca4..657239a799d9238836381d6f9078c4e8ef1f7699 100644 (file)
@@ -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.
index 15b6e85e93c1963fb408b6fa37d7bd140adaec09..5f03634826dd03801857d8d19287d9ea43297ed5 100644 (file)
@@ -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()) {