Skip to content

Commit d71f18b

Browse files
committed
fixed build for 5.1
1 parent b378f0d commit d71f18b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Source/LuaMachine/Private/LuaMultiLineEditableTextBox.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2018-2020 - Roberto De Ioris
1+
// Copyright 2018-2023 - Roberto De Ioris
22

33
#include "LuaMultiLineEditableTextBox.h"
44
#include "Runtime/Slate/Public/Widgets/Input/SMultiLineEditableTextBox.h"
@@ -7,7 +7,7 @@
77

88
#define LOCTEXT_NAMESPACE "UMG"
99

10-
#if ENGINE_MAJOR_VERSION >=5 && ENGINE_MINOR_VERSION >= 2
10+
#if ENGINE_MAJOR_VERSION >=5 && ENGINE_MINOR_VERSION >= 1
1111
static FEditableTextBoxStyle EditableTextBoxStyle;
1212
#endif
1313

@@ -220,7 +220,7 @@ TSharedRef<SWidget> ULuaMultiLineEditableTextBox::RebuildWidget()
220220

221221
EditableTextBoxPtr = SNew(SMultiLineEditableTextBox)
222222
.Marshaller(FLuaMachineSyntaxHighlighterTextLayoutMarshaller::Create(Style))
223-
#if ENGINE_MAJOR_VERSION >=5 && ENGINE_MINOR_VERSION >= 2
223+
#if ENGINE_MAJOR_VERSION >=5 && ENGINE_MINOR_VERSION >= 1
224224
.Style(&EditableTextBoxStyle)
225225
#else
226226
.TextStyle(&CodeStyle)

Source/LuaMachineEditor/Private/LuaMachineEditor.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2018-2020 - Roberto De Ioris
1+
// Copyright 2018-2023 - Roberto De Ioris
22

33
#include "LuaMachineEditor.h"
44
#include "Editor/UnrealEd/Public/Editor.h"
@@ -68,7 +68,7 @@ void FLuaMachineEditorModule::StartupModule()
6868
.SetDisplayName(LOCTEXT("LuaMachine Debugger", "LuaMachine Debugger"))
6969
.SetTooltipText(LOCTEXT("Open the LuaMachine Debugger", "Open the LuaMachine Debugger"))
7070
.SetIcon(FSlateIcon(
71-
#if ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION >= 2
71+
#if ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION >= 1
7272
FAppStyle::GetAppStyleSetName()
7373
#else
7474
FEditorStyle::GetStyleSetName()

0 commit comments

Comments
 (0)