Fix comparing a pointer with a char

Fixes: #8985.
This commit is contained in:
Vincent van Ravesteijn 2014-03-19 21:08:43 +01:00
parent 3c67d6f77c
commit 99c5a46c68

View File

@ -203,7 +203,7 @@ void InsetListings::latex(otexstream & os, OutputParams const & runparams) const
}
if (isInline) {
char const * delimiter = lstinline_delimiters;
for (; delimiter != '\0'; ++delimiter)
for (; *delimiter != '\0'; ++delimiter)
if (!contains(code, *delimiter))
break;
// This code piece contains all possible special character? !!!