Commit cae1050c authored by Ludovic Fauvet's avatar Ludovic Fauvet

Kill a warning

parent 7dab3883
......@@ -59,7 +59,7 @@ VlcPluginBase::VlcPluginBase( NPP instance, NPuint16_t mode ) :
}
static bool boolValue(const char *value) {
return ( *value == NULL ||
return ( *value == '\0' ||
!strcmp(value, "1") ||
!strcasecmp(value, "true") ||
!strcasecmp(value, "yes") );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment