diff options
Diffstat (limited to 'src/scintilla_backports/6170_df221375187c.patch')
-rw-r--r-- | src/scintilla_backports/6170_df221375187c.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/scintilla_backports/6170_df221375187c.patch b/src/scintilla_backports/6170_df221375187c.patch deleted file mode 100644 index 28479b0a..00000000 --- a/src/scintilla_backports/6170_df221375187c.patch +++ /dev/null @@ -1,25 +0,0 @@ -# HG changeset patch -# User Neil <nyamatongwe@gmail.com> -# Date 1491548892 -36000 -# Node ID df221375187cab18a3e1c73ae83fa46805bf98db -# Parent ef932abba46c57933959a83bd63fafc429d35259 -Allowing assigning Windows and ensure cursorLast is initialized. - -diff -r ef932abba46c -r df221375187c include/Platform.h ---- a/include/Platform.h Thu Apr 06 21:04:52 2017 +1000 -+++ b/include/Platform.h Fri Apr 07 17:08:12 2017 +1000 -@@ -363,6 +363,14 @@ - virtual ~Window(); - Window &operator=(WindowID wid_) { - wid = wid_; -+ cursorLast = cursorInvalid; -+ return *this; -+ } -+ Window &operator=(const Window &other) { -+ if (this != &other) { -+ wid = other.wid; -+ cursorLast = other.cursorLast; -+ } - return *this; - } - WindowID GetID() const { return wid; } |