Skip to content

Commit

Permalink
* Fixed wrong rows executed in loops after gosub or goto.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pulover committed Jun 10, 2016
1 parent 16fe05e commit 2c59fc9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions Documentation/About.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ Thiago Talma for some improvements to the code, debugging and many suggestions.

## Version 5.0.3

* Fixed wrong rows executed in loops after gosub or goto.
* Fixed missing value field in exported `Control` and `ControlGet` commands.
* Fixed hidden *Main Loop* band reappearing after gui resize or minimizing/maximizing.
* Fixed bug in *Copy to...* feature.
Expand Down
6 changes: 3 additions & 3 deletions Documentation/MacroCreator_Help-doc/CompileCHM.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ File := A_ScriptDir "\index.html"
FileRead, FileData, %File%
PMCVer := RegExReplace(FileData, "s).*Version: ([\d\.]+).*", "$1")
Data := "<a href=""http://www.macrocreator.com/""><img src=""Images/PMC.png"" alt=""Pulover's Macro Creator"" border=""0""></a>"
FileMod_Change(FileData, Data, 10)
Data := "<h1 id=""version:-" PMCVer """>Version: <a href=""About.html#change-log"">" PMCVer "</a></h1>"
FileMod_Change(FileData, Data, 11)
Data := "<h1 id=""version:-" PMCVer """>Version: <a href=""About.html#change-log"">" PMCVer "</a></h1>"
FileMod_Change(FileData, Data, 12)
Data := "<Version: " PMCVer ">`n</head>"
FileMod_Change(FileData, Data, 8)
FileMod_Change(FileData, Data, 9)
FileDelete, %File%
FileAppend, %FileData%, %File%

Expand Down
4 changes: 2 additions & 2 deletions LIB/Playback.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@
, CheckVars(PlaybackVars[LoopDepth][mLoopIndex], TimesX)
, LoopDepth++
, PlaybackVars[LoopDepth] := []
, iLoopIndex++, StartMark[LoopDepth] := A_Index
, iLoopIndex++, StartMark[LoopDepth] := mListRow
, PlaybackVars[LoopDepth][mLoopIndex, "A_Index"] := 1
, PlaybackVars[LoopDepth][mLoopIndex, "ErrorLevel"] := FlowControl.ErrorLevel
, LoopCount[LoopDepth] := ""
Expand Down Expand Up @@ -608,7 +608,7 @@
_Count := LoopCount[LoopDepth][1]
, LoopInfo := {LoopDepth: LoopDepth
, PlaybackVars: PlaybackVars
, Range: {Start: StartMark[LoopDepth], End: A_Index}
, Range: {Start: StartMark[LoopDepth], End: mListRow }
, Count: _Count + 1
, CoordModes: PbCoordModes
, SendModes: PbSendModes
Expand Down
1 change: 0 additions & 1 deletion MacroCreator.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -4012,7 +4012,6 @@ Gui, 34:Font
Gui, 34:Font,, Tahoma
Gui, 34:Add, Link,, <a href="http://www.macrocreator.com">www.macrocreator.com</a>
Gui, 34:Add, Text,, Author: Pulover [Rodolfo U. Batista]
Gui, 34:Add, Link, y+0, <a href="mailto:pulover@macrocreator.com">pulover@macrocreator.com</a>
Gui, 34:Add, Text, -Wrap R1 y+0,
(
Copyright © 2012-2016 Rodolfo U. Batista
Expand Down

0 comments on commit 2c59fc9

Please sign in to comment.