diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-07-02 20:20:09 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-07-02 20:20:09 +0200 |
commit | b2c0350c67736b0e054718fb5bf136147ee2261e (patch) | |
tree | a1b4a9651813cbb1d8cb1b2362760f5c54e47976 /src/if_ruby.c | |
parent | 730cde924cea50977bdbfa5b977180bfaa188a27 (diff) | |
download | vim-git-b2c0350c67736b0e054718fb5bf136147ee2261e.tar.gz |
Make updating text for conceal mode simpler. A few compiler warning fixes.
Diffstat (limited to 'src/if_ruby.c')
-rw-r--r-- | src/if_ruby.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/if_ruby.c b/src/if_ruby.c index 4e1ce4280..2608f1f79 100644 --- a/src/if_ruby.c +++ b/src/if_ruby.c @@ -609,10 +609,12 @@ static int ensure_ruby_initialized(void) char *argv[] = {"gvim.exe"}; NtInitialize(&argc, &argv); #endif + { #ifdef RUBY19_OR_LATER - RUBY_INIT_STACK; + RUBY_INIT_STACK; #endif - ruby_init(); + ruby_init(); + } #ifdef RUBY19_OR_LATER ruby_script("vim-ruby"); #endif |