]> git.lyx.org Git - features.git/commitdiff
cosmetics
authorAndré Pönitz <poenitz@gmx.net>
Fri, 31 Aug 2001 13:27:52 +0000 (13:27 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Fri, 31 Aug 2001 13:27:52 +0000 (13:27 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2645 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/math_hash.C

index 281bc35c6d8d9f8709102bfbda9b7fa9839f7ffe..17833dc609ac59cc4f93e70f8df385f61e9126d0 100644 (file)
@@ -142,7 +142,6 @@ latexkeys_a wordlist_array[] =
        {"|",  LM_TK_UNDEF, '|', LMB_NONE},
        {"}",  LM_TK_SPECIAL, '}', LMB_NONE},
        {"", LM_TK_SPECIAL, 0, LMB_NONE}
-
 };
 
 
@@ -152,15 +151,16 @@ bool initialized = false;
 
 } // namespace anon
 
+
 void ReadSymbols(string const & filename)
 {
-       for(latexkeys_a * p = wordlist_array; !string(p->name).empty(); ++p) {
+       for (latexkeys_a * p = wordlist_array; !string(p->name).empty(); ++p) {
                latexkeys tmp;
-               tmp.name = p->name;
-               tmp.token = p->token;
-               tmp.id = p->id;
+               tmp.name   = p->name;
+               tmp.token  = p->token;
+               tmp.id     = p->id;
+               tmp.type   = p->type;
                tmp.latex_font_id = 0;
-               tmp.type = p->type;
                wordlist.push_back(tmp);
        }
 
@@ -219,10 +219,10 @@ latexkeys const * in_word_set(string const & str)
                string const file = LibFileSearch(string(), "symbols");
                if (file.empty())
                        lyxerr << "Could not find symbols file" << endl;
-                else
+               else
                        ReadSymbols(file);
                initialized = true;
-        }
+       }
 
        std::vector<latexkeys>::iterator it =
                std::find_if(wordlist.begin(), wordlist.end(),