Update release

This commit is contained in:
Zihan Chen
2020-12-22 16:59:17 -08:00
parent 4fbb25c072
commit cea0a05d88
8 changed files with 6 additions and 3 deletions
+3
View File
@@ -20883,8 +20883,11 @@ GuiMenuButton
} }
void GuiMenuButton::SetSubMenu(GuiMenu* value, bool owned) void GuiMenuButton::SetSubMenu(GuiMenu* value, bool owned)
{
if(subMenu)
{ {
DetachSubMenu(); DetachSubMenu();
}
subMenu=value; subMenu=value;
ownedSubMenu=owned; ownedSubMenu=owned;
if(subMenu) if(subMenu)
+2 -2
View File
@@ -635,8 +635,8 @@ RegexLexerWalker
vint RegexLexerWalker::GetRelatedToken(vint state)const vint RegexLexerWalker::GetRelatedToken(vint state)const
{ {
vint finalState=state==-1?-1:pure->GetRelatedFinalState(state); vint finalState = state == -1 ? -1 : pure->GetRelatedFinalState(state);
return finalState==-1?-1:stateTokens.Get(finalState); return finalState == -1 ? -1 : stateTokens.Get(finalState);
} }
void RegexLexerWalker::Walk(wchar_t input, vint& state, vint& token, bool& finalState, bool& previousTokenStop)const void RegexLexerWalker::Walk(wchar_t input, vint& state, vint& token, bool& finalState, bool& previousTokenStop)const
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.