git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32783 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2010-01-05 21:24:44 +00:00
parent 3efb4cd65e
commit c5b06d46bf

View File

@ -97,7 +97,8 @@ void LyXAction::init()
// magnitudes faster.
static bool init;
if (init) return;
if (init)
return;
struct ev_item {
FuncCode action;
@ -3449,9 +3450,8 @@ void LyXAction::init()
#ifndef DOXYGEN_SHOULD_SKIP_THIS
};
for (int i = 0; items[i].action != LFUN_NOACTION; ++i) {
for (int i = 0; items[i].action != LFUN_NOACTION; ++i)
newFunc(items[i].action, items[i].name, items[i].attrib, items[i].type);
}
init = true;
}