From 7a7aaab5d9ad573186a06ddedbefcd0dd62e8e2c Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Sun, 8 Mar 2020 13:26:19 -0400 Subject: Address review comments --- src/easy_chat_3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/easy_chat_3.c') diff --git a/src/easy_chat_3.c b/src/easy_chat_3.c index f3c7bedd9..a8abb21db 100644 --- a/src/easy_chat_3.c +++ b/src/easy_chat_3.c @@ -1270,7 +1270,7 @@ static bool8 ECInterfaceCmd_20(void) static bool8 InitEasyChatGraphicsWork_Internal(void) { sEasyChatGraphicsResources = Alloc(sizeof(*sEasyChatGraphicsResources)); - if (!sEasyChatGraphicsResources) + if (sEasyChatGraphicsResources == NULL) return FALSE; sEasyChatGraphicsResources->state = 0; @@ -1316,7 +1316,7 @@ static void PrintTitleText(void) { int xOffset; const u8 *titleText = GetTitleText(); - if (!titleText) + if (titleText == NULL) return; xOffset = (128 - GetStringWidth(1, titleText, 0)) / 2u; -- cgit v1.2.3