Commit 5b20b3cc authored by Eli Zaretskii's avatar Eli Zaretskii

Fix some of the breakage introduced with 2012-07-31T12:36:19Z!dmantipov@yandex.ru.

 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.
parent 79e721e0
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.
......
......@@ -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));
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment