comparison src/gui_w32.c @ 12994:8566eaa08788 v8.0.1373

patch 8.0.1373: no error when settting 'renderoptions' before starting GUI commit https://github.com/vim/vim/commit/3767c6e9ee1bd585a2afba7e932854b24d194a2d Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 5 16:57:56 2017 +0100 patch 8.0.1373: no error when settting 'renderoptions' before starting GUI Problem: No error when settting 'renderoptions' to an invalid value before starting the GUI. Solution: Always check the value. (Ken Takata, closes #2413)
author Christian Brabandt <cb@256bit.org>
date Tue, 05 Dec 2017 17:00:08 +0100
parents 18e6f4addce9
children cfce9ac1d1e8
comparison
equal deleted inserted replaced
12993:8a97cfc76c7e 12994:8566eaa08788
124 dx_scrlines = atoi((char *)value); 124 dx_scrlines = atoi((char *)value);
125 } 125 }
126 else 126 else
127 return FAIL; 127 return FAIL;
128 } 128 }
129
130 if (!gui.in_use)
131 return OK; /* only checking the syntax of the value */
129 132
130 /* Enable DirectX/DirectWrite */ 133 /* Enable DirectX/DirectWrite */
131 if (dx_enable) 134 if (dx_enable)
132 { 135 {
133 if (!directx_enabled()) 136 if (!directx_enabled())