diff options
author | B. Bogart <bbogart@users.sourceforge.net> | 2004-11-05 15:44:44 +0000 |
---|---|---|
committer | B. Bogart <bbogart@users.sourceforge.net> | 2004-11-05 15:44:44 +0000 |
commit | c1b6161a1a31081ccddd0d6b21d26140b9e64548 (patch) | |
tree | b6fce4b1e560c62f14e1ba5d9773834bbe74f9bf /popup | |
parent | 25ee41bca8316509985e043945225702ade47577 (diff) |
Fixed name-clash bug thanks to Guenter!
svn path=/trunk/externals/bbogart/; revision=2219
Diffstat (limited to 'popup')
-rw-r--r-- | popup/README.txt | 3 | ||||
-rw-r--r-- | popup/popup.c | 2 |
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); } |