aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/CommandDialog.cc2
-rw-r--r--src/CommandDialog.hh2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/CommandDialog.cc b/src/CommandDialog.cc
index 023c22f..e777390 100644
--- a/src/CommandDialog.cc
+++ b/src/CommandDialog.cc
@@ -40,7 +40,7 @@ using std::less;
40using std::out_of_range; 40using std::out_of_range;
41 41
42CommandDialog::CommandDialog(BScreen &screen, const string &title, 42CommandDialog::CommandDialog(BScreen &screen, const string &title,
43 const string precommand) : 43 const string &precommand) :
44 TextDialog(screen, title), 44 TextDialog(screen, title),
45 m_precommand(precommand) { } 45 m_precommand(precommand) { }
46 46
diff --git a/src/CommandDialog.hh b/src/CommandDialog.hh
index 0e12ce3..a976bc4 100644
--- a/src/CommandDialog.hh
+++ b/src/CommandDialog.hh
@@ -35,7 +35,7 @@ class Command;
35class CommandDialog: public TextDialog { 35class CommandDialog: public TextDialog {
36public: 36public:
37 CommandDialog(BScreen &screen, const std::string &title, 37 CommandDialog(BScreen &screen, const std::string &title,
38 const std::string pre_command = ""); 38 const std::string &pre_command = "");
39 39
40 /** 40 /**
41 * Sets the command to be executed after the command is done. 41 * Sets the command to be executed after the command is done.