diff --git a/src/newgdi/layout.c b/src/newgdi/layout.c index cd7673b4..dc5269c7 100644 --- a/src/newgdi/layout.c +++ b/src/newgdi/layout.c @@ -1847,10 +1847,6 @@ static Uint32 get_line_alignment(const LAYOUT *layout, else alignment = GRF_ALIGN_RIGHT; break; - - default: - alignment = GRF_ALIGN_LEFT; - break; } return alignment; diff --git a/src/newgdi/shape-glyphs-complex.c b/src/newgdi/shape-glyphs-complex.c index 188b3423..8f1187c6 100644 --- a/src/newgdi/shape-glyphs-complex.c +++ b/src/newgdi/shape-glyphs-complex.c @@ -305,6 +305,7 @@ error: BOOL GUIAPI InitComplexShapingEngine(TEXTRUNS* truns) { + // TODO: check using ttf fonts truns->sei.inst = create_instance(); truns->sei.shape = shape_layout_run; truns->sei.free = destroy_instance;