]> git.sesse.net Git - vlc/blobdiff - src/modules/modules.c
Avoid ?: GCC-ism
[vlc] / src / modules / modules.c
index e21323488aa00b4fecd3c7105843510e1b601497..7c1290823bf5e9abcd2b5074ed440b613f942cc8 100644 (file)
@@ -292,7 +292,7 @@ const char *module_get_name( const module_t *m, bool long_name )
     if( long_name && ( m->psz_longname != NULL) )
         return m->psz_longname;
 
-    return m->psz_shortname ?: m->psz_object_name;
+    return m->psz_shortname ? m->psz_shortname : m->psz_object_name;
 }
 
 /**