git.openpandora.org
/
pandora-libraries.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
preliminary support for ovr edits within mmenu
[pandora-libraries.git]
/
minimenu
/
mmcat.c
diff --git
a/minimenu/mmcat.c
b/minimenu/mmcat.c
index
3640b62
..
b3573f7
100644
(file)
--- a/
minimenu/mmcat.c
+++ b/
minimenu/mmcat.c
@@
-488,6
+488,11
@@
unsigned char category_meta_push ( char *catname, char *parentcatname, pnd_disco
}
#endif
}
#endif
+ // if this is a subcat push, and its requesting special 'no subcat', then just ditch it
+ if ( parentcatname && strcmp ( catname, "NoSubcategory" ) == 0 ) {
+ return ( 1 );
+ }
+
// do we honour cat mapping at all?
if ( pnd_conf_get_as_int_d ( g_conf, "categories.map_on", 0 ) ) {
// do we honour cat mapping at all?
if ( pnd_conf_get_as_int_d ( g_conf, "categories.map_on", 0 ) ) {