diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-03-15 22:43:58 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-03-15 22:43:58 +0000 |
commit | e2cc9702a6ddb033ea289a1269f14e7ae076c3ef (patch) | |
tree | ff8eab15d32035b98b9e0ac952d1cc1435f14c26 /src/ex_cmds2.c | |
parent | 152c9dd52b4ff1a39618e973c720829ac6395f2d (diff) |
updated for version 7.0060
Diffstat (limited to 'src/ex_cmds2.c')
-rw-r--r-- | src/ex_cmds2.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c index 0761a6998c..1e7267eb36 100644 --- a/src/ex_cmds2.c +++ b/src/ex_cmds2.c @@ -3125,11 +3125,11 @@ getsourceline(c, cookie, indent) line = sp->nextline; sp->nextline = NULL; ++sourcing_lnum; + } #ifdef FEAT_PROFILE - if (do_profiling) - script_line_start(); + if (line != NULL && do_profiling) + script_line_start(); #endif - } /* Only concatenate lines starting with a \ when 'cpoptions' doesn't * contain the 'C' flag. */ @@ -3684,7 +3684,7 @@ prt_get_term_color(colorindex) static void prt_get_attr(hl_id, pattr, modec) int hl_id; - prt_text_attr_T* pattr; + prt_text_attr_T *pattr; int modec; { int colorindex; @@ -3695,6 +3695,7 @@ prt_get_attr(hl_id, pattr, modec) pattr->bold = (highlight_has_attr(hl_id, HL_BOLD, modec) != NULL); pattr->italic = (highlight_has_attr(hl_id, HL_ITALIC, modec) != NULL); pattr->underline = (highlight_has_attr(hl_id, HL_UNDERLINE, modec) != NULL); + pattr->undercurl = (highlight_has_attr(hl_id, HL_UNDERCURL, modec) != NULL); # ifdef FEAT_GUI if (gui.in_use) |