This commit is contained in:
Behdad Esfahbod 2010-05-05 01:40:25 -04:00
parent b18eafd0f6
commit 705e215268
4 changed files with 5 additions and 5 deletions

View File

@ -230,11 +230,11 @@ struct hb_sanitize_context_t
return this->writable;
}
unsigned int debug_depth;
const char *start, *end;
bool writable;
unsigned int edit_count;
hb_blob_t *blob;
unsigned int debug_depth;
};
@ -254,7 +254,7 @@ template <typename Type>
struct Sanitizer
{
static hb_blob_t *sanitize (hb_blob_t *blob) {
hb_sanitize_context_t context[1] = {{}};
hb_sanitize_context_t context[1] = {{0}};
bool sane;
/* TODO is_sane() stuff */

View File

@ -1490,7 +1490,7 @@ struct PosLookup : Lookup
unsigned int nesting_level_left) const
{
unsigned int lookup_type = get_type ();
hb_apply_context_t context[1] = {{}};
hb_apply_context_t context[1] = {{0}};
context->layout = layout;
context->buffer = buffer;

View File

@ -775,7 +775,7 @@ struct SubstLookup : Lookup
unsigned int nesting_level_left) const
{
unsigned int lookup_type = get_type ();
hb_apply_context_t context[1] = {{}};
hb_apply_context_t context[1] = {{0}};
context->layout = layout;
context->buffer = buffer;

View File

@ -42,13 +42,13 @@
struct hb_apply_context_t
{
unsigned int debug_depth;
hb_ot_layout_context_t *layout;
hb_buffer_t *buffer;
unsigned int context_length;
unsigned int nesting_level_left;
unsigned int lookup_flag;
unsigned int property; /* propety of first glyph (TODO remove) */
unsigned int debug_depth;
};