=================================================================== RCS file: /cvs/mandoc/mandocdb.c,v retrieving revision 1.72 retrieving revision 1.73 diff -u -p -r1.72 -r1.73 --- mandoc/mandocdb.c 2013/10/18 21:10:07 1.72 +++ mandoc/mandocdb.c 2013/10/18 23:07:23 1.73 @@ -1,4 +1,4 @@ -/* $Id: mandocdb.c,v 1.72 2013/10/18 21:10:07 schwarze Exp $ */ +/* $Id: mandocdb.c,v 1.73 2013/10/18 23:07:23 schwarze Exp $ */ /* * Copyright (c) 2011, 2012 Kristaps Dzonsons * Copyright (c) 2011, 2012, 2013 Ingo Schwarze @@ -1792,7 +1792,7 @@ dbindex(struct mchars *mc, int form, const struct of * return; desc = ""; - if (NULL != of->desc) { + if (NULL != of->desc && '\0' != *of->desc) { key = ohash_find(&strings, ohash_qlookup(&strings, of->desc)); assert(NULL != key);