Code

charset: pass -1 instead of strlen()
authorMax Kellermann <max@duempel.org>
Fri, 3 Oct 2008 09:52:13 +0000 (11:52 +0200)
committerMax Kellermann <max@duempel.org>
Fri, 3 Oct 2008 09:52:13 +0000 (11:52 +0200)
commitf5b706fd865140da002f2e9f7af3b6f459aed115
treec3534b9b23521b17fb2131b714904d14baa61a8d
parentaef462cd9dfcf7573e7bc6e812f0c75ddde359f6
charset: pass -1 instead of strlen()

The GTK charset functions accept "-1" if the parameter is null
terminated.
src/charset.c