Simplify previous commit

The brackets are not necessary.
This commit is contained in:
Scott Kostyshak 2015-04-07 22:59:34 -04:00
parent e26ac5c550
commit dabb534a36

View File

@ -1922,12 +1922,12 @@ bool GuiView::getStatus(FuncRequest const & cmd, FuncStatus & flag)
break;
case LFUN_BUFFER_NEXT:
case LFUN_BUFFER_PREVIOUS: {
case LFUN_BUFFER_NEXT:
case LFUN_BUFFER_PREVIOUS:
// because we cycle, it doesn't matter whether on first or last
if (d.currentTabWorkArea()->count() <= 1)
enable = false;
break;
}
case LFUN_BUFFER_SWITCH:
// toggle on the current buffer, but do not toggle off
// the other ones (is that a good idea?)