diff options
author | Neil <nyamatongwe@gmail.com> | 2017-04-22 09:16:08 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2017-04-22 09:16:08 +1000 |
commit | b201e09daf251a0e3e5576b79643f6c4f841a4a9 (patch) | |
tree | bc7d0caf7e5a4d0635b7ee7ba593f4ee830a6072 /src/Editor.cxx | |
parent | 0801e0084a5cf87f424235d5947f5158474d5da4 (diff) | |
download | scintilla-mirror-b201e09daf251a0e3e5576b79643f6c4f841a4a9.tar.gz |
Using unique_ptr to simplify ownership of images, case folder, and list box.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 81f3c1893..35c8a8d6b 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -5673,7 +5673,7 @@ void Editor::StyleSetMessage(unsigned int iMessage, uptr_t wParam, sptr_t lParam break; case SCI_STYLESETCHARACTERSET: vs.styles[wParam].characterSet = static_cast<int>(lParam); - pdoc->SetCaseFolder(NULL); + pdoc->SetCaseFolder(nullptr); break; case SCI_STYLESETVISIBLE: vs.styles[wParam].visible = lParam != 0; |