From 71a8a1c2717beff64a1212fbdf3fbdd1de9d603a Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 20 Oct 2021 22:22:09 +1100 Subject: GetLineEndTypesSupported returns LineEndType, not int. --- call/ScintillaCall.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'call') diff --git a/call/ScintillaCall.cxx b/call/ScintillaCall.cxx index c363fc283..4fe782af5 100644 --- a/call/ScintillaCall.cxx +++ b/call/ScintillaCall.cxx @@ -3256,8 +3256,8 @@ std::string ScintillaCall::DescribeKeyWordSets() { return CallReturnString(Message::DescribeKeyWordSets, 0); } -int ScintillaCall::LineEndTypesSupported() { - return static_cast(Call(Message::GetLineEndTypesSupported)); +LineEndType ScintillaCall::LineEndTypesSupported() { + return static_cast(Call(Message::GetLineEndTypesSupported)); } int ScintillaCall::AllocateSubStyles(int styleBase, int numberStyles) { -- cgit v1.2.3