Commits on Source (2)
-
for use in unknown/unset/invalid situations.
aef8cbfe -
(non-functional). a value of `0` in some parts of the tree construction code corresponds to unknown/unset/invalid, for which the new 'unknown' defines are used. a value of `-1` corresponds to 'hidden'. this instance of `-1` was not changed to use the `SUBCAT_HIDDEN` define when that was introduced because it was not clear that 'hidden' truly represented what was really intended by this init value and in fact that the wrong init value was likely being used here. since this attribute is only ever used for `TYPE_CATSUBCAT` instances, and is always overwritten by the actual subcat ID upon creation, it really doesn't matter what it is initialised with. to be more correct, clear and consistent though, let's init as 'unknown' - the correct define for initialisation purposes.
3b07d208
Showing
- include/vlc_plugin.h 4 additions, 0 deletionsinclude/vlc_plugin.h
- modules/gui/macosx/preferences/prefs.m 1 addition, 1 deletionmodules/gui/macosx/preferences/prefs.m
- modules/gui/qt/dialogs/preferences/complete_preferences.cpp 6 additions, 6 deletionsmodules/gui/qt/dialogs/preferences/complete_preferences.cpp