Skip to content

Commit

Permalink
Merge pull request #1436 from fox0430/remove-warning
Browse files Browse the repository at this point in the history
Remove unnecessary cast
  • Loading branch information
fox0430 authored Aug 29, 2021
2 parents 0911c68 + d0eb706 commit ce88b2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/moepkg/ui.nim
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ proc append*(win: var Window,
# Not write when running unit tests
when not defined unitTest:
win.cursesWindow.wattron(cint(ncurses.COLOR_PAIR(ord(color))))
mvwaddstr(win.cursesWindow, cint(win.y), cint(win.x), $str)
mvwaddstr(win.cursesWindow, cint(win.y), cint(win.x), str)

win.x += str.toRunes.width

Expand Down

0 comments on commit ce88b2a

Please sign in to comment.