1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-19 01:04:20 +00:00

Whitespace clean-up

This commit is contained in:
hogliux 2017-03-06 09:19:09 +00:00
parent cc5e5bb43a
commit c64dc65be2

View file

@ -379,7 +379,7 @@ namespace
const int tabPos = line.indexOfChar ('\t');
if (tabPos < 0)
break;
const int spacesPerTab = 4;
const int spacesNeeded = spacesPerTab - (tabPos % spacesPerTab);
line = line.replaceSection (tabPos, 1, String::repeatedString (" ", spacesNeeded));