diff options
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 762dd122..0f9170d4 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());
|
