From c1b6161a1a31081ccddd0d6b21d26140b9e64548 Mon Sep 17 00:00:00 2001 From: "B. Bogart" Date: Fri, 5 Nov 2004 15:44:44 +0000 Subject: Fixed name-clash bug thanks to Guenter! svn path=/trunk/externals/bbogart/; revision=2219 --- popup/README.txt | 3 +++ popup/popup.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/popup/README.txt b/popup/README.txt index b9831d8..bd6a801 100644 --- a/popup/README.txt +++ b/popup/README.txt @@ -35,4 +35,7 @@ Methods: bgcolour [colour] Background Colour (white, green, #5500ff) options [opt1] [...] List of the popup options +BUGS: +- Do not use a loadbang to set a patch-default value. Will cause a segfault. + Have Fun. diff --git a/popup/popup.c b/popup/popup.c index f169408..7488653 100644 --- a/popup/popup.c +++ b/popup/popup.c @@ -395,7 +395,7 @@ static void popup_name(t_popup* x, t_symbol *name) { DEBUG(post("name start");) - x->x_name->s_name = name->s_name; + x->x_name = name; sys_vgui(".x%x.c.s%x configure -text \"%s\"\n", x->x_glist, x, name->s_name); } -- cgit v1.2.1