[fontations] Fix macro flag name
Should be SK_FONTATIONS_ADD_FONTATIONS_TO_LOCALIZED_NAMES and not
SK_FONTATIONS_ADD_FONTATIONS_TO_NAMES.
Bug: 307906051
Change-Id: I0a424d051d75053e7a83d424fe7594a733ac4239
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1033536
Commit-Queue: Ben Wagner <bungeman@google.com>
Reviewed-by: Florin Malita <fmalita@google.com>
Commit-Queue: Florin Malita <fmalita@google.com>
Auto-Submit: Ben Wagner <bungeman@google.com>
diff --git a/src/ports/SkTypeface_fontations.cpp b/src/ports/SkTypeface_fontations.cpp
index fce6ed3..ece0044 100644
--- a/src/ports/SkTypeface_fontations.cpp
+++ b/src/ports/SkTypeface_fontations.cpp
@@ -333,7 +333,7 @@
}
localized_string->fString =
SkString(localizedName.string.data(), localizedName.string.size());
-#ifdef SK_FONTATIONS_ADD_FONTATIONS_TO_NAMES
+#ifdef SK_FONTATIONS_ADD_FONTATIONS_TO_LOCALIZED_NAMES
// TODO(b/307906051): Remove the suffix before shipping.
localized_string->fString.append(" (Fontations)");
#endif