summaryrefslogtreecommitdiff
path: root/src/gfx_layout.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gfx_layout.h')
-rw-r--r--src/gfx_layout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gfx_layout.h b/src/gfx_layout.h
index 104736611..053937647 100644
--- a/src/gfx_layout.h
+++ b/src/gfx_layout.h
@@ -177,7 +177,7 @@ public:
FontState state_after; ///< Font state after the line.
ParagraphLayouter *layout; ///< Layout of the line.
- LineCacheItem() : buffer(NULL), layout(NULL) {}
+ LineCacheItem() : buffer(nullptr), layout(nullptr) {}
~LineCacheItem() { delete layout; free(buffer); }
};
private: