aboutsummaryrefslogtreecommitdiffstats
path: root/libaxl_parse_display.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libaxl_parse_display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libaxl_parse_display.c b/libaxl_parse_display.c
index 037f49b..ab44083 100644
--- a/libaxl_parse_display.c
+++ b/libaxl_parse_display.c
@@ -110,7 +110,7 @@ normal:
errno = saved_errno;
/* Get screen */
- if (*name)
+ if (!*name)
goto done;
if (!isdigit(*name)) {
liberror_save_backtrace(NULL);