cosmetic: add braces around large one-line block for readability.
authorSteven Hoving <stevenhoving@gmail.com>
Fri, 1 Aug 2014 09:32:03 +0000 (11:32 +0200)
committerErik Slagter <erik@openpli.org>
Fri, 1 Aug 2014 09:32:03 +0000 (11:32 +0200)
Signed-off-by: Erik Slagter <erik@openpli.org>

lib/service/listboxservice.cpp

index 7aad6f8..18da03b 100644 (file)
@@ -88,6 +88,7 @@ bool eListboxServiceContent::setCurrent(const eServiceReference &ref)
 {
        int index=0;
        for (list::iterator i(m_list.begin()); i != m_list.end(); ++i, ++index)
+       {
                if ( *i == ref )
                {
                        m_cursor = i;
@@ -99,6 +100,7 @@ bool eListboxServiceContent::setCurrent(const eServiceReference &ref)
                        }
                        break;
                }
+       }
        return false;
 }