diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-05-03 22:55:58 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-05-03 22:55:58 -0300 |
commit | d6d29f6d7911a513d24edad1b40f29b7aad1f46e (patch) | |
tree | 1341bedb03775cfc01d3762982198447363ec85e /scene/gui/label.h | |
parent | f64fcc42efc8f3ceaddb64b059e231ce77db7faa (diff) | |
parent | 0bc5b7a1464b442a9e54cd05c9720d1d53693ee1 (diff) |
Merge pull request #1755 from dbsGen/master
Fixed some bugs in Label.
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; |