diff options
Diffstat (limited to 'src/EditView.cxx')
-rw-r--r-- | src/EditView.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/EditView.cxx b/src/EditView.cxx index 1c6e41096..1ec163d27 100644 --- a/src/EditView.cxx +++ b/src/EditView.cxx @@ -268,11 +268,11 @@ void EditView::DropGraphics(bool freeObjects) { void EditView::AllocateGraphics(const ViewStyle &vsDraw) { if (!pixmapLine) - pixmapLine.reset(Surface::Allocate(vsDraw.technology)); + pixmapLine = Surface::Allocate(vsDraw.technology); if (!pixmapIndentGuide) - pixmapIndentGuide.reset(Surface::Allocate(vsDraw.technology)); + pixmapIndentGuide = Surface::Allocate(vsDraw.technology); if (!pixmapIndentGuideHighlight) - pixmapIndentGuideHighlight.reset(Surface::Allocate(vsDraw.technology)); + pixmapIndentGuideHighlight = Surface::Allocate(vsDraw.technology); } static const char *ControlCharacterString(unsigned char ch) noexcept { |