summaryrefslogtreecommitdiff
path: root/src/history.c
diff options
context:
space:
mode:
authorJérémie Courrèges-Anglas <jca@wxcvbn.org>2013-04-10 15:38:09 +0200
committerJérémie Courrèges-Anglas <jca@wxcvbn.org>2013-04-10 15:38:09 +0200
commit43d6810723ae64f597c17679357ae4a34f8498d1 (patch)
tree5bd93c9e1da9928d08e9b37cb8e99d439ceaf065 /src/history.c
parent289b548310a8ade383fe898fcc0ff80686e4de14 (diff)
downloadratpoison-43d6810723ae64f597c17679357ae4a34f8498d1.zip
history_add: make 2nd parameter const
Diffstat (limited to 'src/history.c')
-rw-r--r--src/history.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/history.c b/src/history.c
index 89c6699..82c94fe 100644
--- a/src/history.c
+++ b/src/history.c
@@ -162,7 +162,7 @@ history_add_upto (int history_id, const char *item, size_t max)
}
void
-history_add (int history_id, char *item)
+history_add (int history_id, const char *item)
{
history_add_upto (history_id, item, defaults.history_size);
}