diff options
author | Neil <nyamatongwe@gmail.com> | 2021-10-20 22:22:09 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-10-20 22:22:09 +1100 |
commit | 71a8a1c2717beff64a1212fbdf3fbdd1de9d603a (patch) | |
tree | 567cb662d0ac3816345092b6b005a101e868e60c /call | |
parent | 5279c0491fbf67972010fdd2a7a889863f80e22f (diff) | |
download | scintilla-mirror-71a8a1c2717beff64a1212fbdf3fbdd1de9d603a.tar.gz |
GetLineEndTypesSupported returns LineEndType, not int.
Diffstat (limited to 'call')
-rw-r--r-- | call/ScintillaCall.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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<int>(Call(Message::GetLineEndTypesSupported)); +LineEndType ScintillaCall::LineEndTypesSupported() { + return static_cast<Scintilla::LineEndType>(Call(Message::GetLineEndTypesSupported)); } int ScintillaCall::AllocateSubStyles(int styleBase, int numberStyles) { |