summaryrefslogtreecommitdiffstats
path: root/src/helper/gettext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/helper/gettext.cpp')
-rw-r--r--src/helper/gettext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/gettext.cpp b/src/helper/gettext.cpp
index 1942b373c..226304267 100644
--- a/src/helper/gettext.cpp
+++ b/src/helper/gettext.cpp
@@ -68,7 +68,7 @@ void initialize_gettext() {
// Allow the user to override the locale directory by setting
// the environment variable INKSCAPE_LOCALEDIR.
char const *inkscape_localedir = g_getenv("INKSCAPE_LOCALEDIR");
- if (inkscape_localedir != NULL) {
+ if (inkscape_localedir != nullptr) {
bindtextdomain(GETTEXT_PACKAGE, inkscape_localedir);
}