Repos / gorts / 54d2b067ff
commit 54d2b067ff5be569ec0664b3a8fafb855eafb4a7
Author: Nhân <hi@imnhan.com>
Date:   Mon Jun 19 14:39:46 2023 +0700

    fix if clause

diff --git a/tcl/main.tcl b/tcl/main.tcl
index 9a3b451..69e12d2 100644
--- a/tcl/main.tcl
+++ b/tcl/main.tcl
@@ -149,7 +149,7 @@ proc applystate {} {
 # Minimizing then re-opening it seems to do the trick.
 # This workaround, however, makes the window unfocused on KDE, so
 # let's only use it on Windows.
-if {$tcl_platform(platform) == windows} {
+if {$tcl_platform(platform) == "windows"} {
     wm iconify .
     wm deiconify .
 }