diff options
author | Ricardo Pérez <ricpelo@gmail.com> | 2015-05-05 22:27:05 +0200 |
---|---|---|
committer | Ricardo Pérez <ricpelo@gmail.com> | 2015-05-05 22:27:05 +0200 |
commit | 7bb53831d8aec2507f6341bd00deae29fde8e2c2 (patch) | |
tree | bf6ce42c3dfee2707f7b8adff072297603b59a23 /scene/gui/label.h | |
parent | af068439829a3fec3a76c4c5d4dd2dba71ab6c5f (diff) | |
parent | bc3c14a76b988a50e65328a932316c2e630a7ae6 (diff) |
Merge pull request #6 from okamstudio/master
Sync
Diffstat (limited to 'scene/gui/label.h')
-rw-r--r-- | scene/gui/label.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/gui/label.h b/scene/gui/label.h index 3b0dddc1a3..81e3ab5676 100644 --- a/scene/gui/label.h +++ b/scene/gui/label.h @@ -75,8 +75,9 @@ private: int char_pos; // if -1, then newline int word_len; int pixel_width; + int space_count; WordCache *next; - WordCache() { char_pos=0; word_len=0; pixel_width=0; next=0; } + WordCache() { char_pos=0; word_len=0; pixel_width=0; next=0; space_count=0;} }; bool word_cache_dirty; |