Commit b532d7ce708cb5ca9bf88abaa2eb213ddcf9babb

Werner Lemberg 2018-07-05T23:13:35

Fix typo (#54238). * src/base/ftcolor.c (FT_Palette_Set_Foreground_Color) [!TT_CONFIG_OPTION_COLOR_LAYERS]: Add return value.

diff --git a/ChangeLog b/ChangeLog
index f193f6f..772ea85 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,12 +1,19 @@
 2018-07-05  Werner Lemberg  <wl@gnu.org>
 
+	Fix typo (#54238).
+
+	* src/base/ftcolor.c (FT_Palette_Set_Foreground_Color)
+	[!TT_CONFIG_OPTION_COLOR_LAYERS]: Add return value.
+
+2018-07-05  Werner Lemberg  <wl@gnu.org>
+
 	Adjust table size comparisons (#54242).
 
 	* src/sfnt/ttcpal.c (tt_face_load_cpal): Implement it.
 
 2018-07-05  Werner Lemberg  <wl@gnu.org>
 
-	Fix more 32bit issues (#54208)
+	Fix more 32bit issues (#54208).
 
 	* src/cff/cffload.c (cff_blend_build_vector): Convert assertion into
 	run-time error.
diff --git a/src/base/ftcolor.c b/src/base/ftcolor.c
index 1c8b309..101e53e 100644
--- a/src/base/ftcolor.c
+++ b/src/base/ftcolor.c
@@ -146,6 +146,9 @@
   {
     FT_UNUSED( face );
     FT_UNUSED( foreground_color );
+
+
+    return FT_THROW( Unimplemented_Feature );
   }
 
 #endif /* !TT_CONFIG_OPTION_COLOR_LAYERS */