cosmetics

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2645 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2001-08-31 13:27:52 +00:00
parent 0b5c26c45c
commit 6b21343d0b

View File

@ -142,7 +142,6 @@ latexkeys_a wordlist_array[] =
{"|", LM_TK_UNDEF, '|', LMB_NONE}, {"|", LM_TK_UNDEF, '|', LMB_NONE},
{"}", LM_TK_SPECIAL, '}', LMB_NONE}, {"}", LM_TK_SPECIAL, '}', LMB_NONE},
{"", LM_TK_SPECIAL, 0, LMB_NONE} {"", LM_TK_SPECIAL, 0, LMB_NONE}
}; };
@ -152,6 +151,7 @@ bool initialized = false;
} // namespace anon } // namespace anon
void ReadSymbols(string const & filename) 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) {
@ -159,8 +159,8 @@ void ReadSymbols(string const & filename)
tmp.name = p->name; tmp.name = p->name;
tmp.token = p->token; tmp.token = p->token;
tmp.id = p->id; tmp.id = p->id;
tmp.latex_font_id = 0;
tmp.type = p->type; tmp.type = p->type;
tmp.latex_font_id = 0;
wordlist.push_back(tmp); wordlist.push_back(tmp);
} }