aboutsummaryrefslogtreecommitdiff
path: root/desiredata/src
diff options
context:
space:
mode:
authorN.N. <matju@users.sourceforge.net>2009-06-02 16:39:38 +0000
committerN.N. <matju@users.sourceforge.net>2009-06-02 16:39:38 +0000
commit18c279abe0a2bbdf9b6d2f2dc41fd69ab16de44b (patch)
treebee26210c857e1a2ff15f1ee25f40221aed84811 /desiredata/src
parent8e17739e8479dbe706ecd10f5d565864384884a1 (diff)
prevent zexy from crashing class browser
svn path=/trunk/; revision=11613
Diffstat (limited to 'desiredata/src')
-rw-r--r--desiredata/src/desire.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/desiredata/src/desire.c b/desiredata/src/desire.c
index 35af0d17..0677a6f6 100644
--- a/desiredata/src/desire.c
+++ b/desiredata/src/desire.c
@@ -6683,7 +6683,7 @@ void glob_help(t_pd *bogus, t_symbol *s) {
extern "C" void glob_update_class_list (t_pd *self, t_symbol *cb_recv, t_symbol *cb_sel) {
t_symbol *k; t_class *v;
sys_gui("global class_list; set class_list {");
- hash_foreach(k,v,class_table) sys_vgui("%s ", ((t_symbol *)k)->name);
+ hash_foreach(k,v,class_table) if (k) sys_vgui("%s ", k->name);
sys_gui("}\n");
sys_vgui("%s %s\n",cb_recv->name, cb_sel->name);
}