fixed tabs being in weird positions at the start

This commit is contained in:
fourtf
2017-01-31 10:41:05 +01:00
parent c54f2c31dd
commit 9f7a674472
3 changed files with 19 additions and 4 deletions
-2
View File
@@ -503,8 +503,6 @@ Message::layout(int width, bool enableEmoteMargins)
std::vector<short> &charWidths = word.getCharacterWidthCache();
auto xD = charWidths.size();
if (charWidths.size() == 0) {
for (int i = 0; i < text.length(); i++) {
charWidths.push_back(metrics.charWidth(text, i));