summaryrefslogtreecommitdiff
path: root/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'main.cc')
-rw-r--r--main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cc b/main.cc
index fb43d6a8..2ba7571b 100644
--- a/main.cc
+++ b/main.cc
@@ -209,7 +209,7 @@ int parse_and_report(int argc, char * argv[], char * envp[])
// rightmost '/' character in the pager pathname. See manpage
// for strrchr.
arg0 = std::strrchr(config.pager.c_str(), '/');
- if (arg0 != NULL)
+ if (arg0)
arg0++;
else
arg0 = config.pager.c_str(); // No slashes in pager.