aboutsummaryrefslogtreecommitdiff
path: root/pd/src/g_all_guis.c
diff options
context:
space:
mode:
Diffstat (limited to 'pd/src/g_all_guis.c')
-rw-r--r--pd/src/g_all_guis.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/pd/src/g_all_guis.c b/pd/src/g_all_guis.c
index 72382de8..da83c2ab 100644
--- a/pd/src/g_all_guis.c
+++ b/pd/src/g_all_guis.c
@@ -402,6 +402,11 @@ void iemgui_label(void *x, t_iemgui *iemgui, t_symbol *s)
int pargc, tail_len, nth_arg;
t_atom *pargv;
+ /* tb: fix for empty label { */
+ if (s == gensym(""))
+ s = gensym("empty");
+ /* tb } */
+
lab = iemgui_raute2dollar(s);
iemgui->x_lab_unexpanded = lab;
iemgui->x_lab = lab = canvas_realizedollar(iemgui->x_glist, lab);