diff options
Diffstat (limited to 'modules/basic')
-rw-r--r-- | modules/basic/basic-fc.c | 8 | ||||
-rw-r--r-- | modules/basic/basic-x.c | 2 |
2 files changed, 2 insertions, 8 deletions
diff --git a/modules/basic/basic-fc.c b/modules/basic/basic-fc.c index 626608be..08776f3b 100644 --- a/modules/basic/basic-fc.c +++ b/modules/basic/basic-fc.c @@ -147,18 +147,15 @@ fallback_shape (PangoEngineShape *engine, gunichar mirrored_ch; PangoGlyph index; char buf[6]; - const char *input; wc = g_utf8_get_char (p); - input = p; if (analysis->level % 2) if (pango_get_mirror_char (wc, &mirrored_ch)) { wc = mirrored_ch; g_unichar_to_utf8 (wc, buf); - input = buf; } if (wc == 0xa0) /* non-break-space */ @@ -368,17 +365,14 @@ basic_engine_shape (PangoEngineShape *engine, gunichar mirrored_ch; PangoGlyph index; char buf[6]; - const char *input; wc = g_utf8_get_char (p); - input = p; if (analysis->level % 2) if (pango_get_mirror_char (wc, &mirrored_ch)) { wc = mirrored_ch; g_unichar_to_utf8 (wc, buf); - input = buf; } if (pango_is_zero_width (wc)) /* Zero-width characters */ @@ -425,7 +419,7 @@ basic_engine_fc_class_init (PangoEngineShapeClass *class) } PANGO_ENGINE_SHAPE_DEFINE_TYPE (BasicEngineFc, basic_engine_fc, - basic_engine_fc_class_init, NULL); + basic_engine_fc_class_init, NULL) void PANGO_MODULE_ENTRY(init) (GTypeModule *module) diff --git a/modules/basic/basic-x.c b/modules/basic/basic-x.c index 1f23291c..70455a64 100644 --- a/modules/basic/basic-x.c +++ b/modules/basic/basic-x.c @@ -691,7 +691,7 @@ basic_engine_x_class_init (PangoEngineShapeClass *class) } PANGO_ENGINE_SHAPE_DEFINE_TYPE (BasicEngineX, basic_engine_x, - basic_engine_x_class_init, NULL); + basic_engine_x_class_init, NULL) void PANGO_MODULE_ENTRY(init) (GTypeModule *module) |