X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/78a0de5a604ee23de16896cd3b2f2f1b70fc1dca..7dafcd45448dcfc60d787b6b2c65402de8655dfe:/mandoc.c?ds=sidebyside diff --git a/mandoc.c b/mandoc.c index 68caf719..f63d7864 100644 --- a/mandoc.c +++ b/mandoc.c @@ -1,4 +1,4 @@ -/* $Id: mandoc.c,v 1.26 2010/07/22 14:03:50 kristaps Exp $ */ +/* $Id: mandoc.c,v 1.27 2010/07/25 19:05:59 joerg Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * @@ -337,7 +337,7 @@ mandoc_eos(const char *p, size_t sz, int enclosed) found = 1; break; default: - return(found && (!enclosed || isalnum(*q))); + return(found && (!enclosed || isalnum((unsigned char)*q))); } }