Skip to content

Commit

Permalink
Compilation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
timothyschoen committed Dec 17, 2024
1 parent d8a9f1b commit df0db49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/Objects/KnobObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -1211,7 +1211,7 @@ class KnobObject final : public ObjectBase {

if (s == gensym(""))
s = gensym("empty");
t_symbol* var = s == gensym("empty") ? &s_ : canvas_realizedollar(knb->x_glist, s);
t_symbol* var = s == gensym("empty") ? gensym("") : canvas_realizedollar(knb->x_glist, s);
if (var != knb->x_var) {
knb->x_var_set = 1;
knb->x_var_raw = s;
Expand Down
2 changes: 1 addition & 1 deletion Source/Objects/PopMenu.h
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ class PopMenu final : public ObjectBase {

if (s == gensym(""))
s = gensym("empty");
t_symbol* var = s == gensym("empty") ? &s_ : canvas_realizedollar(knb->x_glist, s);
t_symbol* var = s == gensym("empty") ? gensym("") : canvas_realizedollar(knb->x_glist, s);
if (var != knb->x_var) {
knb->x_var_set = 1;
knb->x_var_raw = s;
Expand Down

0 comments on commit df0db49

Please sign in to comment.