X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Ftoolbar.c;h=64ff6edf02776972912e68e08869ed7488dba165;hb=51a1ea1f505fd48ac9f14b25e85208f5dfa6ff65;hp=1fbb43525590811f312e03fd7d6ad63769a5fbf9;hpb=77dcef404dc78635f6ffa8f71a803d2bc7cc8921;p=chise%2Fxemacs-chise.git diff --git a/src/toolbar.c b/src/toolbar.c index 1fbb435..64ff6ed 100644 --- a/src/toolbar.c +++ b/src/toolbar.c @@ -303,7 +303,7 @@ update_toolbar_button (struct frame *f, struct toolbar_button *tb, if (!tb) { - tb = alloc_lcrecord_type (struct toolbar_button, lrecord_toolbar_button); + tb = alloc_lcrecord_type (struct toolbar_button, &lrecord_toolbar_button); tb->next = Qnil; XSETFRAME (tb->frame, f); tb->up_glyph = Qnil;