record the number of space before a word.
This commit is contained in:
parent
ad358562e5
commit
6fa342a1b0
1 changed files with 2 additions and 2 deletions
|
@ -75,9 +75,9 @@ private:
|
||||||
int char_pos; // if -1, then newline
|
int char_pos; // if -1, then newline
|
||||||
int word_len;
|
int word_len;
|
||||||
int pixel_width;
|
int pixel_width;
|
||||||
bool space_insert;
|
int space_count;
|
||||||
WordCache *next;
|
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;
|
bool word_cache_dirty;
|
||||||
|
|
Loading…
Reference in a new issue