+2001-10-18 Andrew Innes <andrewi@gnu.org>
+
+ * fontset.c (fs_load_font) [WINDOWSNT && _MSC_VER]: Disable
+ optimization. The fontp->encoding array was not being initialized
+ correctly when compiled with optimizations by MSVC.
+
2001-10-18 Gerd Moellmann <gerd@gnu.org>
* xdisp.c (display_line): Indicate empty lines in active
}
+#if defined(WINDOWSNT) && defined (_MSC_VER)
+#pragma optimize("", off)
+#endif
+
/* Load a font named FONTNAME to display character C on frame F.
Return a pointer to the struct font_info of the loaded font. If
loading fails, return NULL. If FACE is non-zero and a fontset is
return fontp;
}
+#if defined(WINDOWSNT) && defined (_MSC_VER)
+#pragma optimize("", on)
+#endif
+
\f
/* Cache data used by fontset_pattern_regexp. The car part is a
pattern string containing at least one wild card, the cdr part is