From 18c279abe0a2bbdf9b6d2f2dc41fd69ab16de44b Mon Sep 17 00:00:00 2001 From: "N.N." Date: Tue, 2 Jun 2009 16:39:38 +0000 Subject: prevent zexy from crashing class browser svn path=/trunk/; revision=11613 --- desiredata/src/desire.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desiredata/src') 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); } -- cgit v1.2.1