From 3ba9f505933cc9fb7e8ccf6e0cf04740235c2816 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Mon, 6 Nov 2017 18:03:57 -0500 Subject: Backported bugfixes and changes from Scintilla 4.0.0 to 4.0.2. --- src/scintilla_backports/6397_2db0528f34b5.patch | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/scintilla_backports/6397_2db0528f34b5.patch (limited to 'src/scintilla_backports/6397_2db0528f34b5.patch') diff --git a/src/scintilla_backports/6397_2db0528f34b5.patch b/src/scintilla_backports/6397_2db0528f34b5.patch new file mode 100644 index 00000000..098c700e --- /dev/null +++ b/src/scintilla_backports/6397_2db0528f34b5.patch @@ -0,0 +1,33 @@ +# HG changeset patch +# User Zufu Liu +# Date 1508018757 -39600 +# Node ID 2db0528f34b5b79890fd6c04897091474c18839a +# Parent 85f99a613e89325580b2202031b99f88e1c73bb1 +Bug [#1978]. Minor undefined behaviour fixed. + +diff -r 85f99a613e89 -r 2db0528f34b5 doc/ScintillaHistory.html +--- a/doc/ScintillaHistory.html Sun Oct 15 08:57:00 2017 +1100 ++++ b/doc/ScintillaHistory.html Sun Oct 15 09:05:57 2017 +1100 +@@ -557,6 +557,10 @@ + Bug #1968. + +
  • ++ Minor undefined behaviour fixed. ++ Bug #1978. ++
  • ++
  • + On Cocoa, improve scrolling on macOS 10.12. + Bug #1885. +
  • +diff -r 85f99a613e89 -r 2db0528f34b5 src/ViewStyle.cxx +--- a/src/ViewStyle.cxx Sun Oct 15 08:57:00 2017 +1100 ++++ b/src/ViewStyle.cxx Sun Oct 15 09:05:57 2017 +1100 +@@ -192,7 +192,7 @@ + } + maskDrawInText = 0; + for (int markBit = 0; markBit < 32; markBit++) { +- const int maskBit = 1 << markBit; ++ const int maskBit = 1U << markBit; + switch (markers[markBit].markType) { + case SC_MARK_EMPTY: + maskInLine &= ~maskBit; -- cgit v1.2.3