diff options
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/chattab.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/guildchattab.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/chattab.cpp b/src/gui/widgets/chattab.cpp index 9d936755c..fc3e4e69f 100644 --- a/src/gui/widgets/chattab.cpp +++ b/src/gui/widgets/chattab.cpp @@ -459,9 +459,9 @@ int ChatTab::getType() const void ChatTab::addRow(std::string &line) { - size_t idx = 0; if (line.find("[@@http") == std::string::npos) { + size_t idx = 0; for (size_t f = 0; f < line.length(); f++) { if (line.at(f) == ' ') diff --git a/src/gui/widgets/guildchattab.h b/src/gui/widgets/guildchattab.h index c1605495d..6daada229 100644 --- a/src/gui/widgets/guildchattab.h +++ b/src/gui/widgets/guildchattab.h @@ -31,7 +31,7 @@ class GuildChatTab final : public ChatTab, public ConfigListener { public: - GuildChatTab(const Widget2 *const widget); + explicit GuildChatTab(const Widget2 *const widget); A_DELETE_COPY(GuildChatTab) |