Skip to content

Commit

Permalink
Fix some of the breakage introduced with revision 109327.
Browse files Browse the repository at this point in the history
 src/w32menu.c (w32_menu_show): Revert bogus introduction of FVAR.
 src/fontset.c (dump_fontset): Fix compilation with ENABLE_CHECKING
 after introduction of FVAR.
  • Loading branch information
Eli-Zaretskii committed Jul 31, 2012
1 parent 2c43ae1 commit 1861952
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
7 changes: 7 additions & 0 deletions src/ChangeLog
@@ -1,3 +1,10 @@
2012-07-31 Eli Zaretskii <eliz@gnu.org>

* w32menu.c (w32_menu_show): Revert bogus introduction of FVAR.

* fontset.c (dump_fontset): Fix compilation with ENABLE_CHECKING
after introduction of FVAR.

2012-07-31 Jan Djärv <jan.h.d@swipnet.se>

* nsmenu.m (update_frame_tool_bar): Change key from NSObject* to id.
Expand Down
3 changes: 2 additions & 1 deletion src/fontset.c
Expand Up @@ -2117,7 +2117,8 @@ dump_fontset (Lisp_Object fontset)

if (FRAME_LIVE_P (f))
ASET (vec, 1,
Fcons (FONTSET_NAME (FONTSET_BASE (fontset)), f->name));
Fcons (FONTSET_NAME (FONTSET_BASE (fontset)),
FVAR (f, name)));
else
ASET (vec, 1,
Fcons (FONTSET_NAME (FONTSET_BASE (fontset)), Qnil));
Expand Down
2 changes: 1 addition & 1 deletion src/w32menu.c
Expand Up @@ -854,7 +854,7 @@ w32_menu_show (FRAME_PTR f, int x, int y, int for_click, int keymaps,

wv_title->name = SSDATA (title);
wv_title->enabled = TRUE;
FVAR (wv_title, title) = TRUE;
wv_title->title = TRUE;
wv_title->button_type = BUTTON_TYPE_NONE;
wv_title->help = Qnil;
wv_title->next = wv_sep;
Expand Down

0 comments on commit 1861952

Please sign in to comment.