changeset 14941:2d7c6c870997

8239091: Reversed arguments in call to strstr in freetype "debug" code. Reviewed-by: bpb
author prr
date Fri, 14 Feb 2020 10:44:30 -0800
parents 26521a68085c
children b59f49a5a07a
files src/share/native/sun/font/freetypeScaler.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/native/sun/font/freetypeScaler.c	Mon Feb 08 06:17:31 2021 +0000
+++ b/src/share/native/sun/font/freetypeScaler.c	Fri Feb 14 10:44:30 2020 -0800
@@ -267,7 +267,7 @@
     const char* property = "interpreter-version";
 
     /* If some one is setting this, don't override it */
-    if (props != NULL && strstr(property, props)) {
+    if (props != NULL && strstr(props, property)) {
         return;
     }
     /*