From 9c840df052ed690ed6fcbf870e1769e1e34644c0 Mon Sep 17 00:00:00 2001 From: John Scipione Date: Sat, 19 Jan 2013 01:31:24 -0500 Subject: [PATCH] Woops, I meant == not = --- src/kits/interface/Font.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kits/interface/Font.cpp b/src/kits/interface/Font.cpp index 10a2b185d4..d9a3003cdb 100644 --- a/src/kits/interface/Font.cpp +++ b/src/kits/interface/Font.cpp @@ -1021,7 +1021,7 @@ void BFont::GetEscapements(const char charArray[], int32 numChars, escapement_delta *delta, float escapementArray[]) const { - if (charArray = NULL || numChars < 1 || escapementArray = NULL) + if (charArray == NULL || numChars < 1 || escapementArray == NULL) return; BPrivate::AppServerLink link; @@ -1063,7 +1063,7 @@ BFont::GetEscapements(const char charArray[], int32 numChars, escapement_delta *delta, BPoint escapementArray[], BPoint offsetArray[]) const { - if (charArray = NULL || numChars < 1 || escapementArray = NULL) + if (charArray == NULL || numChars < 1 || escapementArray == NULL) return; BPrivate::AppServerLink link;