Add missing braces around obvious block.
authorSteven Hoving <stevenhoving@gmail.com>
Fri, 1 Aug 2014 09:31:02 +0000 (11:31 +0200)
committerErik Slagter <erik@openpli.org>
Fri, 1 Aug 2014 09:31:02 +0000 (11:31 +0200)
Signed-off-by: Erik Slagter <erik@openpli.org>

lib/service/listboxservice.cpp

index edd03d7..7aad6f8 100644 (file)
@@ -93,8 +93,10 @@ bool eListboxServiceContent::setCurrent(const eServiceReference &ref)
                        m_cursor = i;
                        m_cursor_number = index;
                        if (m_listbox)
+                       {
                                m_listbox->moveSelectionTo(cursorResolve(index));
                                return true;
+                       }
                        break;
                }
        return false;