Update label.h

This commit is contained in:
Gen 2015-04-28 23:07:41 +08:00
parent 1a6012aff5
commit dfc59d1e00

View file

@ -75,8 +75,9 @@ private:
int char_pos; // if -1, then newline
int word_len;
int pixel_width;
bool space_insert;
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_insert=true;}
};
bool word_cache_dirty;