mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32783 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3efb4cd65e
commit
c5b06d46bf
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user