summaryrefslogtreecommitdiff
path: root/src/script/api/script_text.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/api/script_text.hpp')
-rw-r--r--src/script/api/script_text.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/api/script_text.hpp b/src/script/api/script_text.hpp
index 0b82ffb20..12892a7e7 100644
--- a/src/script/api/script_text.hpp
+++ b/src/script/api/script_text.hpp
@@ -23,14 +23,14 @@ class Text : public ScriptObject {
public:
/**
* Convert a ScriptText to a normal string.
- * @return A string (in a static buffer), or NULL.
+ * @return A string (in a static buffer), or nullptr.
* @api -all
*/
virtual const char *GetEncodedText() = 0;
/**
* Convert a #ScriptText into a decoded normal string.
- * @return A string (in a static buffer), or NULL.
+ * @return A string (in a static buffer), or nullptr.
* @api -all
*/
const char *GetDecodedText();