Skip to content
Snippets Groups Projects
Commit f552e1d0 authored by mae's avatar mae
Browse files

fix crash

confusion between columns and character positions
parent 38abb728
No related branches found
No related tags found
No related merge requests found
......@@ -145,7 +145,7 @@ int TabSettings::indentationColumn(const QString &text) const
int TabSettings::maximumPadding(const QString &text) const
{
int fns = columnAt(text, firstNonSpace(text));
int fns = firstNonSpace(text);
int i = fns;
while (i > 0) {
if (text.at(i-1) != QLatin1Char(' '))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment