summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addon/doxywizard/inputstring.cpp2
-rw-r--r--src/util.cpp5
2 files changed, 4 insertions, 3 deletions
diff --git a/addon/doxywizard/inputstring.cpp b/addon/doxywizard/inputstring.cpp
index ad258f7..48ede55 100644
--- a/addon/doxywizard/inputstring.cpp
+++ b/addon/doxywizard/inputstring.cpp
@@ -167,7 +167,7 @@ void InputString::setEnabled(bool state)
{
m_lab->setEnabled(state);
if (m_le) m_le->setEnabled(state);
- if (m_im) m_le->setEnabled(state);
+ if (m_im) m_im->setEnabled(state);
if (m_br) m_br->setEnabled(state);
if (m_com) m_com->setEnabled(state);
updateDefault();
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();
}