summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2020-01-04 19:28:36 +0100
committerWerner Lemberg <wl@gnu.org>2020-01-04 19:28:36 +0100
commitfd03cf88167ac15a38c73cc5c51d55dfba0b5c82 (patch)
tree22156ae08e2cdba0b5d10d7bd5c6fccbb5e359c8 /src
parent50b013871c53f7624b5351dd4820a137303fe14b (diff)
downloadfreetype2-fd03cf88167ac15a38c73cc5c51d55dfba0b5c82.tar.gz
[base] Fix `FREETYPE_PROPERTIES=type1:hinting-engine=adobe`.
* src/base/ftpsprop.c (ps_property_set) [hinting-engine]: Avoid an incorrect return value that caused a warning. The function did the right thing, though.
Diffstat (limited to 'src')
-rw-r--r--src/base/ftpsprop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base/ftpsprop.c b/src/base/ftpsprop.c
index 52b9d453a..3a31a18b1 100644
--- a/src/base/ftpsprop.c
+++ b/src/base/ftpsprop.c
@@ -165,9 +165,9 @@
driver->hinting_engine = *hinting_engine;
else
error = FT_ERR( Unimplemented_Feature );
-
- return error;
}
+
+ return error;
}
else if ( !ft_strcmp( property_name, "no-stem-darkening" ) )