From 2cc3b18da39bde323c5739483e507a133e93ac22 Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Sat, 7 Jun 2014 13:29:37 +0200 Subject: Bug 731238 - Dead links in html documentation when using tabs for indentation in c++ --- src/util.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/util.cpp b/src/util.cpp index fecf632..0113e62 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -1798,8 +1798,9 @@ nextChar: ) ) { + if (c=='\t') c=' '; if (c=='*' || c=='&' || c=='@' || c=='$') - { + { //uint rl=result.length(); uint rl=growBuf.getPos(); if ((rl>0 && (isId(growBuf.at(rl-1)) || growBuf.at(rl-1)=='>')) && @@ -1827,8 +1828,8 @@ nextChar: } } } - //printf("removeRedundantWhiteSpace(`%s')=`%s'\n",s.data(),result.data()); growBuf.addChar(0); + //printf("removeRedundantWhiteSpace(`%s')=`%s'\n",s.data(),growBuf.get()); //result.resize(resultPos); return growBuf.get(); } -- cgit v0.12