File icewm-1.3.6-winoptions.patch of Package icewm

---
 src/wmframe.cc |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

--- icewm-1.3.6.orig/src/wmframe.cc
+++ icewm-1.3.6/src/wmframe.cc
@@ -2264,15 +2264,15 @@ void YFrameWindow::getWindowOptions(Wind
         if (name != null) {
             ustring klass_instance = name.append(".").append(klass);
             list->mergeWindowOption(opt, klass_instance, remove);
-        } else
-            list->mergeWindowOption(opt, klass, remove);
+        }
+        list->mergeWindowOption(opt, klass, remove);
     }
     if (name != null) {
         if (role != null) {
             ustring name_role = name.append(".").append(role);
             list->mergeWindowOption(opt, name_role, remove);
-        } else
-            list->mergeWindowOption(opt, name, remove);
+        }
+        list->mergeWindowOption(opt, name, remove);
     }
     if (role != null)
         list->mergeWindowOption(opt, role, remove);