diff --git a/src/mdiary.c b/src/mdiary.c index af9e2b9..1317cfd 100644 --- a/src/mdiary.c +++ b/src/mdiary.c @@ -223,7 +223,7 @@ static gchar *mdiary_get_line_from_string(gchar **str_ptr) gchar *start; gchar *str; - if (!str_ptr || !*str_ptr | !**str_ptr) + if (!str_ptr || !*str_ptr || !**str_ptr) return NULL; str = *str_ptr;