aboutsummaryrefslogtreecommitdiff
path: root/popup
diff options
context:
space:
mode:
Diffstat (limited to 'popup')
-rw-r--r--popup/README.txt3
-rw-r--r--popup/popup.c2
2 files changed, 4 insertions, 1 deletions
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);
}