summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2acaf83)
raw | patch | inline | side by side (parent: 2acaf83)
author | Max Kellermann <max@duempel.org> | |
Sun, 18 Oct 2009 18:35:52 +0000 (20:35 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Sun, 18 Oct 2009 18:35:52 +0000 (20:35 +0200) |
src/hscroll.c | patch | blob | history | |
src/hscroll.h | patch | blob | history |
diff --git a/src/hscroll.c b/src/hscroll.c
index 372e1484f3bc386ef76bf18f8658f32e872331c8..00bda797a70e60d5c312f6391564e7c389e838d5 100644 (file)
--- a/src/hscroll.c
+++ b/src/hscroll.c
#include <string.h>
char *
-strscroll(struct hscroll *hscroll, char *str, char *separator, unsigned width)
+strscroll(struct hscroll *hscroll, const char *str, const char *separator,
+ unsigned width)
{
gchar *tmp, *buf;
gsize len, size;
diff --git a/src/hscroll.h b/src/hscroll.h
index fadbae9af4ab978fe7b306a4a124499d98ebc164..d266c8a335d8b50e46a424ad5d8f97c0196e2eaa 100644 (file)
--- a/src/hscroll.h
+++ b/src/hscroll.h
}
char *
-strscroll(struct hscroll *hscroll, char *str, char *separator, unsigned width);
+strscroll(struct hscroll *hscroll, const char *str, const char *separator,
+ unsigned width);
#endif