Minor
This commit is contained in:
parent
a00ad60bc0
commit
bb0e4ba3e9
|
@ -115,7 +115,7 @@ hb_shape_plan_get_empty (void)
|
||||||
static const hb_shape_plan_t _hb_shape_plan_nil = {
|
static const hb_shape_plan_t _hb_shape_plan_nil = {
|
||||||
HB_OBJECT_HEADER_STATIC,
|
HB_OBJECT_HEADER_STATIC,
|
||||||
|
|
||||||
TRUE, /* default_shaper_list */
|
false, /* default_shaper_list */
|
||||||
NULL, /* face */
|
NULL, /* face */
|
||||||
_HB_BUFFER_PROPS_DEFAULT, /* props */
|
_HB_BUFFER_PROPS_DEFAULT, /* props */
|
||||||
|
|
||||||
|
|
|
@ -60,7 +60,7 @@ main (int argc, char **argv)
|
||||||
hb_memory_mode_t mm;
|
hb_memory_mode_t mm;
|
||||||
|
|
||||||
#ifdef HAVE_GLIB
|
#ifdef HAVE_GLIB
|
||||||
GMappedFile *mf = g_mapped_file_new (argv[1], FALSE, NULL);
|
GMappedFile *mf = g_mapped_file_new (argv[1], false, NULL);
|
||||||
font_data = g_mapped_file_get_contents (mf);
|
font_data = g_mapped_file_get_contents (mf);
|
||||||
len = g_mapped_file_get_length (mf);
|
len = g_mapped_file_get_length (mf);
|
||||||
destroy = (hb_destroy_func_t) g_mapped_file_unref;
|
destroy = (hb_destroy_func_t) g_mapped_file_unref;
|
||||||
|
|
Loading…
Reference in New Issue