git.openpandora.org
/
pandora-libraries.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5c3c97f
)
Fix for bug that cropped up in recent changes; no apps at all should be fine, just...
author
skeezix
<skeezix@flotsam-vm.(none)>
Sat, 28 Jan 2012 01:34:34 +0000
(20:34 -0500)
committer
skeezix
<skeezix@flotsam-vm.(none)>
Sat, 28 Jan 2012 01:34:34 +0000
(20:34 -0500)
minimenu/mmui.c
patch
|
blob
|
history
diff --git
a/minimenu/mmui.c
b/minimenu/mmui.c
index
bb8a4ef
..
89110b8
100644
(file)
--- a/
minimenu/mmui.c
+++ b/
minimenu/mmui.c
@@
-2890,7
+2890,7
@@
void ui_post_scan ( void ) {
} // default cat
// if we're sent right to a dirbrowser tab, restock it now (normally we restock on entry)
} // default cat
// if we're sent right to a dirbrowser tab, restock it now (normally we restock on entry)
- if ( g_categories [ ui_category ] -> fspath ) {
+ if ( g_categories [ ui_category ]
&& g_categories [ ui_category ]
-> fspath ) {
printf ( "Restock on start: '%s'\n", g_categories [ ui_category ] -> fspath );
category_fs_restock ( g_categories [ ui_category ] );
}
printf ( "Restock on start: '%s'\n", g_categories [ ui_category ] -> fspath );
category_fs_restock ( g_categories [ ui_category ] );
}
@@
-2919,7
+2919,7
@@
unsigned char ui_threaded_defered_icon ( void *p ) {
// work at it in order within current category
// work at it in order within current category
- mm_appref_t *refiter = g_categories [ ui_category ]
-> refs
;
+ mm_appref_t *refiter = g_categories [ ui_category ]
? g_categories [ ui_category ] -> refs : NULL
;
while ( refiter && ! g_icon_thread_stop ) {
iter = refiter -> ref;
while ( refiter && ! g_icon_thread_stop ) {
iter = refiter -> ref;