summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gfx_layout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gfx_layout.cpp b/src/gfx_layout.cpp
index 861f390a9..4148d0548 100644
--- a/src/gfx_layout.cpp
+++ b/src/gfx_layout.cpp
@@ -282,7 +282,7 @@ ParagraphLayout::Line *ParagraphLayout::nextLine(int max_width)
Line *l = new Line();
const WChar *begin = this->buffer;
- WChar *last_space;
+ WChar *last_space = NULL;
const WChar *last_char = begin;
int width = 0;