summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.cc2
-rw-r--r--src/session.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/main.cc b/src/main.cc
index 3cdc6cf4..63115dd3 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -222,7 +222,7 @@ int main(int argc, char * argv[], char * envp[])
#ifdef HAVE_LIBEDIT
- rl_readline_name = "Ledger";
+ rl_readline_name = const_cast<char *>("Ledger");
#if 0
rl_attempted_completion_function = ledger_completion;
#endif
diff --git a/src/session.h b/src/session.h
index 2b33cb8d..3c441ef1 100644
--- a/src/session.h
+++ b/src/session.h
@@ -192,7 +192,8 @@ public:
std::cout << "Ledger " << ledger::version << ", the command-line accounting tool";
std::cout << "\n\nCopyright (c) 2003-2009, John Wiegley. All rights reserved.\n\n\
This program is made available under the terms of the BSD Public License.\n\
-See LICENSE file included with the distribution for details and disclaimer.\n";
+See LICENSE file included with the distribution for details and disclaimer.";
+ std::cout << std::endl;
return NULL_VALUE;
}