From d0eb7064f98213ba996abfe82592885a930560ba Mon Sep 17 00:00:00 2001 From: fox0430 Date: Mon, 30 Aug 2021 05:45:33 +0900 Subject: [PATCH] Remove unnecessary cast --- src/moepkg/ui.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/moepkg/ui.nim b/src/moepkg/ui.nim index f5a9b9255..40ca75804 100644 --- a/src/moepkg/ui.nim +++ b/src/moepkg/ui.nim @@ -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