summaryrefslogtreecommitdiff
path: root/src/easy_chat_3.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2020-03-08 13:26:19 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2020-03-08 13:26:19 -0400
commit7a7aaab5d9ad573186a06ddedbefcd0dd62e8e2c (patch)
treeca2886c3d684ac5d584df2c69134c0b9b17f7378 /src/easy_chat_3.c
parent5d7c0e9bb041ec4c7d8fd3c88c02ac1f25e200a7 (diff)
Address review comments
Diffstat (limited to 'src/easy_chat_3.c')
-rw-r--r--src/easy_chat_3.c4
1 files changed, 2 insertions, 2 deletions
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;