From c79a045fa040583e311d545d71cb10466f7edeb5 Mon Sep 17 00:00:00 2001
From: Marko Lindqvist <cazfi74@gmail.com>
Date: Sat, 28 Jun 2025 01:26:54 +0300
Subject: [PATCH 77/77] api_common_intl.c: Replace NULL with nullptr

See RM #1544

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
---
 common/scriptcore/api_common_intl.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/common/scriptcore/api_common_intl.c b/common/scriptcore/api_common_intl.c
index 8a698f484e..c9c592c08b 100644
--- a/common/scriptcore/api_common_intl.c
+++ b/common/scriptcore/api_common_intl.c
@@ -28,7 +28,7 @@
 **************************************************************************/
 const char *api_intl__(lua_State *L, const char *untranslated)
 {
-  LUASCRIPT_CHECK_STATE(L, NULL);
+  LUASCRIPT_CHECK_STATE(L, nullptr);
   LUASCRIPT_CHECK_ARG_NIL(L, untranslated, 2, string, "");
 
   return _(untranslated);
@@ -39,7 +39,7 @@ const char *api_intl__(lua_State *L, const char *untranslated)
 **************************************************************************/
 const char *api_intl_N_(lua_State *L, const char *untranslated)
 {
-  LUASCRIPT_CHECK_STATE(L, NULL);
+  LUASCRIPT_CHECK_STATE(L, nullptr);
   LUASCRIPT_CHECK_ARG_NIL(L, untranslated, 2, string, "");
 
   return N_(untranslated);
@@ -50,7 +50,7 @@ const char *api_intl_N_(lua_State *L, const char *untranslated)
 **************************************************************************/
 const char *api_intl_Q_(lua_State *L, const char *untranslated)
 {
-  LUASCRIPT_CHECK_STATE(L, NULL);
+  LUASCRIPT_CHECK_STATE(L, nullptr);
   LUASCRIPT_CHECK_ARG_NIL(L, untranslated, 2, string, "");
 
   return Q_(untranslated);
@@ -62,7 +62,7 @@ const char *api_intl_Q_(lua_State *L, const char *untranslated)
 const char *api_intl_PL_(lua_State *L, const char *singular,
                          const char *plural, int n)
 {
-  LUASCRIPT_CHECK_STATE(L, NULL);
+  LUASCRIPT_CHECK_STATE(L, nullptr);
   LUASCRIPT_CHECK_ARG_NIL(L, singular, 2, string, "");
   LUASCRIPT_CHECK_ARG_NIL(L, plural, 3, string, "");
 
-- 
2.47.2

