From: RĂ©mi Denis-Courmont Date: Sat, 10 Feb 2007 17:30:56 +0000 (+0000) Subject: *Ahem* whistles X-Git-Tag: 0.9.0-test0~8659 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=ba4f253bd953d82e177434327541ed8c2cc70a8f;p=vlc *Ahem* whistles --- diff --git a/include/vlc_variables.h b/include/vlc_variables.h index d11f0564b3..f484b83eb7 100644 --- a/include/vlc_variables.h +++ b/include/vlc_variables.h @@ -353,7 +353,7 @@ static inline char *__var_GetString( vlc_object_t *p_obj, const char *psz_name ) static inline char *__var_GetNonEmptyString( vlc_object_t *obj, const char *name ) { vlc_value_t val; - if (!__var_Get (obj, name, &val)) + if (__var_Get (obj, name, &val)) return NULL; if (*val.psz_string) return val.psz_string;