From 68487d5197bf01cdb6e6e9256164d3fdb07579cd Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Mon, 25 Jul 2016 15:07:03 -0400 Subject: [PATCH] Fix indentation. --- src/ModuleList.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/ModuleList.cpp b/src/ModuleList.cpp index d442d204a5..1036823361 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