summaryrefslogtreecommitdiffstats
path: root/src/pre.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2006-05-07 18:20:12 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2006-05-07 18:20:12 (GMT)
commitde0997f3baf049e0c312ac4fc9b9b762fdc40e00 (patch)
tree2d15670fa3b1c4279e9d9439de2606f91f865d8b /src/pre.l
parentf8bf8307e131fd6e3057635f0553ce6d6bb9794f (diff)
downloadDoxygen-de0997f3baf049e0c312ac4fc9b9b762fdc40e00.zip
Doxygen-de0997f3baf049e0c312ac4fc9b9b762fdc40e00.tar.gz
Doxygen-de0997f3baf049e0c312ac4fc9b9b762fdc40e00.tar.bz2
Release-1.4.6-20060507
Diffstat (limited to 'src/pre.l')
-rw-r--r--src/pre.l9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/pre.l b/src/pre.l
index ad9e630..b4a3787 100644
--- a/src/pre.l
+++ b/src/pre.l
@@ -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;