diff options
Diffstat (limited to 'src/doxysearch.cpp')
-rw-r--r-- | src/doxysearch.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/doxysearch.cpp b/src/doxysearch.cpp index 027b185..867ef94 100644 --- a/src/doxysearch.cpp +++ b/src/doxysearch.cpp @@ -2,7 +2,7 @@ * * $Id$ * - * Copyright (C) 1997-1999 by Dimitri van Heesch. + * Copyright (C) 1997-2000 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 @@ -905,7 +905,11 @@ int main(int argc,char **argv) if (c=='+') *d++=' '; else if (c=='%') - *d++=asciiToHex(*s++)*16+asciiToHex(*s++); + { + *d=asciiToHex(*s++)*16; + *d+=asciiToHex(*s++); + d++; + } else *d++=c; } |