- removed one ifdef from TMenuView.Load

git-svn-id: branches/unicodekvm@48744 -
This commit is contained in:
nickysn 2021-02-21 06:44:16 +00:00
parent 83e492235e
commit 9b419b800a

View File

@ -474,11 +474,7 @@ CONSTRUCTOR TMenuView.Load (Var S: TStream);
S.Read(Disabled, SizeOf(Disabled)); { Menu item state }
S.Read(KeyCode, SizeOf(KeyCode)); { Menu item keycode }
S.Read(HelpCtx, SizeOf(HelpCtx)); { Menu item help ctx }
{$ifdef FV_UNICODE}
If (Name <> '') Then
{$else FV_UNICODE}
If (Name <> Nil) Then
{$endif FV_UNICODE}
If (Name <> Sw_PString_Empty) Then
If Command = 0 Then
{$ifdef PPC_FPC}
SubMenu := DoLoadMenu() { Load submenu }