Skip to content

Commit

Permalink
refactor: added pragmas to showMapButtonsCommand procedure
Browse files Browse the repository at this point in the history
FossilOrigin-Name: 21ffef1a9f9f4425389e421153a71106a0c658c6182ab75f9a60011536bfdbfd
  • Loading branch information
thindil committed Jan 8, 2024
1 parent 6ad5c64 commit c1a33af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nim/src/ui/mapsuicommands.nim
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ proc hideMapButtonsCommand(clientData: cint; interp: PInterp; argc: cint;
return tclOk

proc showMapButtonsCommand(clientData: cint; interp: PInterp; argc: cint;
argv: openArray[cstring]): TclResults =
argv: openArray[cstring]): TclResults {.sideEffect, raises: [], tags: [].} =
let buttonsBox = mainPaned & ".mapframe.buttons"
for i in 2 .. 11:
let buttonName = buttonsBox & "." & buttonNames[i]
Expand Down

0 comments on commit c1a33af

Please sign in to comment.