We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 375f0e1 commit 6f50781Copy full SHA for 6f50781
extension/OOoLilyPond/LilyPond.xba
@@ -297,8 +297,8 @@ Sub ParseOutput(sFile as String)
297
If isArray(vArray) Then
298
If UBound(vArray)>=(LBound(vArray)+4+iWinComp) Then
299
iStartPos = Len (vArray(LBound(vArray)+iWinComp)) - iNameLength
300
- if iStartPos < 0 Then ' make sure that arguments for Mid(...) are valid
301
- iStartPos = 0
+ if iStartPos < 1 Then ' make sure that arguments for Mid(...) are valid
+ iStartPos = 1
302
End If
303
If Mid (vArray(LBound(vArray)+iWinComp), iStartPos) = constOLyFileName & ".ly" Then
304
iNErr = iNErr + 1
0 commit comments