harfbuzz/harfbuzz-missing-return.patch

19 lines
500 B
Diff

From 7c5b7fe686c9163afe2f31fbeac6f8c8512f5516 Mon Sep 17 00:00:00 2001
From: Behdad Esfahbod <behdad@behdad.org>
Date: Thu, 22 Nov 2012 19:15:08 +0000
Subject: Fix hb_shape_plan_get_shaper()
---
diff --git a/src/hb-shape-plan.cc b/src/hb-shape-plan.cc
index 7735d4e..22a226f 100644
--- a/src/hb-shape-plan.cc
+++ b/src/hb-shape-plan.cc
@@ -304,4 +304,5 @@ retry:
const char *
hb_shape_plan_get_shaper (hb_shape_plan_t *shape_plan)
{
+ return shape_plan->shaper_name;
}
--
cgit v0.9.0.2-2-gbebe