Commits

Ken Takata committed b3db1fa

add a new patch: fix-dwrite-renopt.diff

Comments (0)

Files changed (2)

fix-dwrite-renopt.diff

+# HG changeset patch
+# Parent 77fbb2dbb517de04021aeaec79135867b9d14328
+diff --git a/src/gui_w32.c b/src/gui_w32.c
+--- a/src/gui_w32.c
++++ b/src/gui_w32.c
+@@ -122,7 +122,7 @@
+ 	    return FAIL;
+     }
+ 
+-    /* Enable DirectX/DirextWrite */
++    /* Enable DirectX/DirectWrite */
+     if (dx_enable)
+     {
+ 	if (!directx_enabled())
+diff --git a/src/option.c b/src/option.c
+--- a/src/option.c
++++ b/src/option.c
+@@ -6965,7 +6965,7 @@
+ #endif
+ 
+ #if defined(FEAT_GUI) && defined(FEAT_RENDERING_OPTIONS)
+-    else if (varp == &p_renopt && gui.in_use)
++    else if (varp == &p_renopt)
+     {
+ 	if (!gui_mch_set_rendering_options(p_renopt))
+ 	    errmsg = e_invarg;
 patch-direct_write.diff
 patch-direct_write-ex1.diff
 use-proto.diff
+fix-dwrite-renopt.diff
 gfw-bold-italic.patch