Mercurial > vim
comparison src/ex_cmds.c @ 6234:78aad99db762 v7.4.452
updated for version 7.4.452
Problem: Can't build with tiny features. (Tony Mechelynck)
Solution: Use "return" instead of "break".
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 19 Sep 2014 22:05:53 +0200 |
parents | cb5480096f1b |
children | c72eb8499a9d |
comparison
equal
deleted
inserted
replaced
6233:54b031246e22 | 6234:78aad99db762 |
---|---|
5898 erret: | 5898 erret: |
5899 vim_free(tag); | 5899 vim_free(tag); |
5900 } | 5900 } |
5901 | 5901 |
5902 /* | 5902 /* |
5903 * ":helpclose": Close the help window | 5903 * ":helpclose": Close one help window |
5904 */ | 5904 */ |
5905 void | 5905 void |
5906 ex_helpclose(eap) | 5906 ex_helpclose(eap) |
5907 exarg_T *eap UNUSED; | 5907 exarg_T *eap UNUSED; |
5908 { | 5908 { |
5911 FOR_ALL_WINDOWS(win) | 5911 FOR_ALL_WINDOWS(win) |
5912 { | 5912 { |
5913 if (win->w_buffer->b_help) | 5913 if (win->w_buffer->b_help) |
5914 { | 5914 { |
5915 win_close(win, FALSE); | 5915 win_close(win, FALSE); |
5916 break; | 5916 return; |
5917 } | 5917 } |
5918 } | 5918 } |
5919 } | 5919 } |
5920 | 5920 |
5921 #if defined(FEAT_MULTI_LANG) || defined(PROTO) | 5921 #if defined(FEAT_MULTI_LANG) || defined(PROTO) |