aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index a4d60019f..838f1830e 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -269,7 +269,7 @@ void Editor::InvalidateStyleData() {
vs.technology = technology;
DropGraphics();
view.llc.Invalidate(LineLayout::ValidLevel::invalid);
- view.posCache.Clear();
+ view.posCache->Clear();
}
void Editor::InvalidateStyleRedraw() {
@@ -6801,11 +6801,11 @@ sptr_t Editor::WndProc(Message iMessage, uptr_t wParam, sptr_t lParam) {
return static_cast<sptr_t>(view.llc.GetLevel());
case Message::SetPositionCache:
- view.posCache.SetSize(wParam);
+ view.posCache->SetSize(wParam);
break;
case Message::GetPositionCache:
- return view.posCache.GetSize();
+ return view.posCache->GetSize();
case Message::SetScrollWidth:
PLATFORM_ASSERT(wParam > 0);