commit 68487d5197bf01cdb6e6e9256164d3fdb07579cd
Author: Richard Heck <[email protected]>
Date:   Mon Jul 25 15:07:03 2016 -0400

    Fix indentation.
---
 src/ModuleList.cpp |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/ModuleList.cpp b/src/ModuleList.cpp
index d442d20..1036823 100644
--- a/src/ModuleList.cpp
+++ b/src/ModuleList.cpp
@@ -262,12 +262,13 @@ LyXModule const * ModuleList::operator[](string const & 
str) const
 LyXModule * ModuleList::operator[](string const & str)
 {
        LyXModuleList::iterator it = modlist_.begin();
-       for (; it != modlist_.end(); ++it)
+       for (; it != modlist_.end(); ++it) {
                if (it->getID() == str) {
-               LyXModule & mod = *it;
-               return &mod;
+                       LyXModule & mod = *it;
+                       return &mod;
                }
-               return 0;
+       }
+       return 0;
 }
 
 } // namespace lyx

Reply via email to