Commits

Stefan Bolte  committed 9064e56 Merge

Merge branch 'master' of bitbucket.org:portix/dwb into experimental

  • Participants
  • Parent commits afdd84e, fe6f25e

Comments (0)

Files changed (1)

     if (s->arg_local.i >= 0)
     {
         dwb.misc.max_tabs = s->arg_local.i;
+        if (s->arg_local.i > 0
 #ifndef _HAS_GTK3
-        if (dwb.misc.tab_orientation == TAB_HORIZONTAL)
+                && dwb.misc.tab_orientation == TAB_HORIZONTAL
 #endif
+        )
             dwb_limit_tabs(dwb.misc.max_tabs);
         return STATUS_OK;
     }