summaryrefslogtreecommitdiffstats
path: root/src/m_loop.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/m_loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/m_loop.c b/src/m_loop.c
index 7dc19e0..9d00f2b 100644
--- a/src/m_loop.c
+++ b/src/m_loop.c
@@ -87,7 +87,7 @@ uint8_t
if (fd == STDIN_FILENO)
m_prompt_psx(1, msh);
gnl = get_next_line(fd, &line);
- if (line[0] != '\0')
+ if (line[0] != C_NUL)
{
line = m_check_multi_backslash(fd, line, msh);
line = m_check_multi_pipe(fd, line, msh);