diff options
| author | Tannin <devnull@localhost> | 2014-11-26 20:22:00 +0100 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2014-11-26 20:22:00 +0100 |
| commit | 78da5fc37ff3a488dc0db8704f2c93cef48dbb57 (patch) | |
| tree | 164f6ec96dfa201527515b2f0632cf4ec62f017e /src/bbcode.cpp | |
| parent | ffef339e2b7c8238c4c6941c58b876222b8f60c3 (diff) | |
more bugfixes
Diffstat (limited to 'src/bbcode.cpp')
| -rw-r--r-- | src/bbcode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bbcode.cpp b/src/bbcode.cpp index 0f9170d4..762dd122 100644 --- a/src/bbcode.cpp +++ b/src/bbcode.cpp @@ -80,7 +80,7 @@ public: if (tagName == "color") {
QString color = tagIter->second.first.cap(1);
QString content = tagIter->second.first.cap(2);
- if (color.at(0) == "#") {
+ if (color.at(0) == '#') {
return temp.replace(tagIter->second.first, QString("<font style=\"color: %1;\">%2</font>").arg(color, content));
} else {
auto colIter = m_ColorMap.find(color.toLower());
|
