Mercurial > vim
comparison src/userfunc.c @ 16378:3d6b282e2d6e v8.1.1194
patch 8.1.1194: typos and small problems in source files
commit https://github.com/vim/vim/commit/ad3ec76bb8030b9a1d3f0a49c374d0de2383b977
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 21 00:00:13 2019 +0200
patch 8.1.1194: typos and small problems in source files
Problem: Typos and small problems in source files.
Solution: Small fixes.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 21 Apr 2019 00:15:05 +0200 |
parents | 879829e44091 |
children | 7e733046db1d |
comparison
equal
deleted
inserted
replaced
16377:b79321679d79 | 16378:3d6b282e2d6e |
---|---|
506 { | 506 { |
507 if (current_sctx.sc_sid <= 0) | 507 if (current_sctx.sc_sid <= 0) |
508 *error = ERROR_SCRIPT; | 508 *error = ERROR_SCRIPT; |
509 else | 509 else |
510 { | 510 { |
511 sprintf((char *)fname_buf + 3, "%ld_", (long)current_sctx.sc_sid); | 511 sprintf((char *)fname_buf + 3, "%ld_", |
512 (long)current_sctx.sc_sid); | |
512 i = (int)STRLEN(fname_buf); | 513 i = (int)STRLEN(fname_buf); |
513 } | 514 } |
514 } | 515 } |
515 if (i + STRLEN(name + llen) < FLEN_FIXED) | 516 if (i + STRLEN(name + llen) < FLEN_FIXED) |
516 { | 517 { |