about summary refs log tree commit diff stats
path: root/src/LYCharUtils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYCharUtils.c')
-rw-r--r--src/LYCharUtils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LYCharUtils.c b/src/LYCharUtils.c
index 42bee126..a0a68ecf 100644
--- a/src/LYCharUtils.c
+++ b/src/LYCharUtils.c
@@ -2538,7 +2538,7 @@ PUBLIC void LYHandleMETA ARGS4(
 	    /* id_string seems to be used wrong below if given.
 	       not that it matters much.  avoid setting it here. - kw */
 	    if ((strncmp(href, "http", 4) == 0) &&
-		(cp = strrchr(href, '#')) != NULL) {
+		(cp = strchr(href, '#')) != NULL) {
 		StrAllocCopy(id_string, cp);
 		*cp = '\0';
 	    }