diff options
author | Neil <nyamatongwe@gmail.com> | 2019-01-13 16:30:28 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-01-13 16:30:28 +1100 |
commit | 7927d7da0bbc485a142426bd6dbb9d6db8c2c105 (patch) | |
tree | eebfa2cbc98b556001bf4cb8a0df4aeeef9bfa33 /win32 | |
parent | 468e18f0fab0cd0bc2e2a9944c02317e9ea828af (diff) | |
download | scintilla-mirror-7927d7da0bbc485a142426bd6dbb9d6db8c2c105.tar.gz |
Backport: Replace the only use of a function from <cctype> with a Scintilla function.
Remove inclusion of <cctype> except in lexers as cctype functions often behave
poorly and may crash for out of bounds arguments.
Backport of changeset 7228:348e55f8107c.
Diffstat (limited to 'win32')
-rw-r--r-- | win32/PlatWin.cxx | 1 | ||||
-rw-r--r-- | win32/ScintillaWin.cxx | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index e5cff0042..74d212031 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -8,7 +8,6 @@ #include <cstddef> #include <cstdlib> #include <cstring> -#include <cctype> #include <cstdio> #include <cstdarg> #include <ctime> diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index 5b78a3ed6..6a5618918 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -9,7 +9,6 @@ #include <cstdlib> #include <cassert> #include <cstring> -#include <cctype> #include <cstdio> #include <cmath> #include <climits> |