Created
February 2, 2013 02:35
-
-
Save k-takata/4695841 to your computer and use it in GitHub Desktop.
patch for patch-direct_write-ex1.diff
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/gui_w32.c b/src/gui_w32.c | |
| --- a/src/gui_w32.c | |
| +++ b/src/gui_w32.c | |
| @@ -50,7 +50,7 @@ | |
| } | |
| #endif | |
| -#ifdef FEAT_RENDERING_OPTIONS | |
| +#if defined(FEAT_RENDERING_OPTIONS) || defined(PROTO) | |
| int | |
| gui_mch_set_rendering_options(char_u *s) | |
| { | |
| diff --git a/src/option.c b/src/option.c | |
| --- a/src/option.c | |
| +++ b/src/option.c | |
| @@ -6996,8 +6996,6 @@ | |
| #if defined(FEAT_GUI) && defined(FEAT_RENDERING_OPTIONS) | |
| else if (varp == &p_renopt && gui.in_use) | |
| { | |
| - int gui_mch_set_rendering_options(char_u *); | |
| - | |
| if (!gui_mch_set_rendering_options(p_renopt)) | |
| errmsg = e_invarg; | |
| } | |
| diff --git a/src/proto/gui_w32.pro b/src/proto/gui_w32.pro | |
| --- a/src/proto/gui_w32.pro | |
| +++ b/src/proto/gui_w32.pro | |
| @@ -1,4 +1,5 @@ | |
| /* gui_w32.c */ | |
| +int gui_mch_set_rendering_options __ARGS((char_u *s)); | |
| void gui_mch_set_blinking __ARGS((long wait, long on, long off)); | |
| void gui_mch_stop_blink __ARGS((void)); | |
| void gui_mch_start_blink __ARGS((void)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment