Blob Blame History Raw
diff -up easystroke-0.6.0/win.cc.iconfix easystroke-0.6.0/win.cc
--- easystroke-0.6.0/win.cc.iconfix	2019-10-18 13:52:30.260730455 -0400
+++ easystroke-0.6.0/win.cc	2019-10-18 13:52:48.708344899 -0400
@@ -275,7 +275,7 @@ void Win::timeout() {
 }
 
 void Win::set_icon(RStroke stroke, bool invert) {
-	if (!icon)
+	if (!icon || icon->get_size() <= 0)
 		return;
 	icon->set(stroke->draw(icon->get_size(), 2.0, invert));
 	set_timeout(10000);