From a8f3c5a8fb8cf179ff555c2236a05ce764854fa7 Mon Sep 17 00:00:00 2001 From: John Scipione Date: Sat, 19 Jan 2013 01:23:56 -0500 Subject: [PATCH] Style fixes only --- 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 404ac1e955..10a2b185d4 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 || numChars < 1 || !escapementArray) + 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 || numChars < 1 || !escapementArray) + if (charArray = NULL || numChars < 1 || escapementArray = NULL) return; BPrivate::AppServerLink link;