Fix bug #14073 with referencing window total number of columns.

src/w32fns.c (Fx_show_tip): Fix compilation error under
 "--enable-check-lisp-object-type".
This commit is contained in:
Eli Zaretskii 2013-03-28 15:45:27 +02:00
parent c7f53895b9
commit 21e930f8f7
2 changed files with 3 additions and 1 deletions

View file

@ -3,6 +3,8 @@
* w32fns.c (w32_wnd_proc) [ENABLE_CHECKING]: Add code to help
identify the reasons for assertion violations in bug#14062 and
similar ones.
(Fx_show_tip): Fix compilation error under
"--enable-check-lisp-object-type". (Bug#14073)
* image.c (g_error_free) [WINDOWSNT]: Add DEF_IMGLIB_FN.
Reported by <rzl24ozi@gmail.com>.

View file

@ -5810,7 +5810,7 @@ Text larger than the specified size is clipped. */)
w->total_lines = 40;
}
FRAME_TOTAL_COLS (f) = XINT (w->total_cols);
FRAME_TOTAL_COLS (f) = WINDOW_TOTAL_COLS (w);
adjust_glyphs (f);
w->pseudo_window_p = 1;