=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mg/tags.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- src/usr.bin/mg/tags.c 2014/03/22 10:00:58 1.9 +++ src/usr.bin/mg/tags.c 2014/11/16 00:59:25 1.10 @@ -1,4 +1,4 @@ -/* $OpenBSD: tags.c,v 1.9 2014/03/22 10:00:58 lum Exp $ */ +/* $OpenBSD: tags.c,v 1.10 2014/11/16 00:59:25 guenther Exp $ */ /* * This file is in the public domain. @@ -475,7 +475,7 @@ /* strip away leading whitespace if any like emacs. */ while (ltext(curwp->w_dotp) && - isspace(curwp->w_dotp->l_text[tdoto])) + isspace(lgetc(curwp->w_dotp, tdoto))) tdoto++; size = curwp->w_doto - tdoto;