Skip to content

Commit b8b6443

Browse files
committed
fix indentation
1 parent 1e2b024 commit b8b6443

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

RasterPropMonitor/Auxiliary modules/JSILabel.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -149,17 +149,17 @@ public void Start()
149149
{
150150
// Force oneshot if there's no variables:
151151
oneshot |= !labelText.Contains("$&$");
152-
string sourceString = labelText.UnMangleConfigText();
152+
string sourceString = labelText.UnMangleConfigText();
153153

154-
if (!string.IsNullOrEmpty(sourceString) && sourceString.Length > 1)
154+
if (!string.IsNullOrEmpty(sourceString) && sourceString.Length > 1)
155+
{
156+
// Alow a " character to escape leading whitespace
157+
if (sourceString[0] == '"')
155158
{
156-
// Alow a " character to escape leading whitespace
157-
if (sourceString[0] == '"')
158-
{
159-
sourceString = sourceString.Substring(1);
160-
}
159+
sourceString = sourceString.Substring(1);
161160
}
162-
labels.Add(new JSILabelSet(sourceString, rpmComp, oneshot));
161+
}
162+
labels.Add(new JSILabelSet(sourceString, rpmComp, oneshot));
163163

164164
if (!oneshot)
165165
{

0 commit comments

Comments
 (0)