diff options
Diffstat (limited to 'src/pre.l')
-rw-r--r-- | src/pre.l | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2005 by Dimitri van Heesch. + * Copyright (C) 1997-2006 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -915,8 +915,11 @@ QCString removeMarkers(const char *s) pc=c; c=*++p; } - result+=c; - p++; + if (*p) + { + result+=c; + p++; + } } } break; |