summaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-04 19:58:56 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-04 19:58:56 -0400
commitea1e898eec5fc643c373c84094ead3f2e8a74d5a (patch)
tree944cd6d5c9d7ebaccf55b2beaea3671767b5e077 /src/main.cc
parent2d941730b1c60342be5b108d2d654723b3b7c2cb (diff)
downloadfork-ledger-ea1e898eec5fc643c373c84094ead3f2e8a74d5a.tar.gz
fork-ledger-ea1e898eec5fc643c373c84094ead3f2e8a74d5a.tar.bz2
fork-ledger-ea1e898eec5fc643c373c84094ead3f2e8a74d5a.zip
Minor fixes to the REPL when using libedit.
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc2
1 files changed, 1 insertions, 1 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