File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
RasterPropMonitor/Auxiliary modules Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments