summaryrefslogtreecommitdiff
path: root/src/window.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2018-05-26 10:01:26 +1000
committerMaxime Coste <mawww@kakoune.org>2018-05-26 10:01:26 +1000
commit54b62cbef7a534fed6278cc42c4df1f9ddc6b57a (patch)
tree3aed672d6b9f6bc4d737f4fa8e5f0e40c522456f /src/window.cc
parent5e7574855698d0069a763c928ba51869af9a0776 (diff)
Do not expose C++ typeid().name to user facing errors on wrong option type
Fixes #2079
Diffstat (limited to 'src/window.cc')
-rw-r--r--src/window.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/window.cc b/src/window.cc
index 43ee52db..e8d99f33 100644
--- a/src/window.cc
+++ b/src/window.cc
@@ -9,6 +9,7 @@
#include "client.hh"
#include "buffer_utils.hh"
#include "option.hh"
+#include "option_types.hh"
#include <algorithm>
#include <sstream>