record the number of space before a word.
This commit is contained in:
@ -75,9 +75,9 @@ private:
|
||||
int char_pos; // if -1, then newline
|
||||
int word_len;
|
||||
int pixel_width;
|
||||
bool space_insert;
|
||||
int space_count;
|
||||
WordCache *next;
|
||||
WordCache() { char_pos=0; word_len=0; pixel_width=0; next=0; space_insert=true;}
|
||||
WordCache() { char_pos=0; word_len=0; pixel_width=0; next=0; space_count=0;}
|
||||
};
|
||||
|
||||
bool word_cache_dirty;
|
||||
|
||||
Reference in New Issue
Block a user