From 566c40cbe8077da2ab34e4c88bcba196eefc11ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20N=C3=BCtzi?= Date: Thu, 11 Feb 2021 00:07:18 +0100 Subject: [PATCH] Fix error handling --- dlgs_windows.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/dlgs_windows.go b/dlgs_windows.go index d81bf5a..827608e 100644 --- a/dlgs_windows.go +++ b/dlgs_windows.go @@ -589,10 +589,5 @@ func editBox(title, text, defaultText, className string, password bool) (string, return out, false, err } - ret := false - if out != "" { - ret = true - } - - return out, ret, nil + return out, true, nil }