summaryrefslogtreecommitdiff
path: root/src/option.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-07-02 20:51:24 +0200
committerBram Moolenaar <Bram@vim.org>2018-07-02 20:51:24 +0200
commit33d5ab3795720b7d986f9f17f660ee9e448466e0 (patch)
tree38af7f84382c74a45dc271d9f37eac9ac148dde4 /src/option.c
parentade55787978e15fe57c5cedf38c9f85bfe1d983c (diff)
downloadvim-git-33d5ab3795720b7d986f9f17f660ee9e448466e0.tar.gz
patch 8.1.0138: negative value of 'softtabstop' not used correctlyv8.1.0138
Problem: Negative value of 'softtabstop' not used correctly. Solution: Use get_sts_value(). (Tom Ryder)
Diffstat (limited to 'src/option.c')
-rw-r--r--src/option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/option.c b/src/option.c
index 50d42ebf7..504b92a71 100644
--- a/src/option.c
+++ b/src/option.c
@@ -13016,7 +13016,7 @@ get_sw_value(buf_T *buf)
/*
* Return the effective softtabstop value for the current buffer, using the
- * 'tabstop' value when 'softtabstop' is negative.
+ * 'shiftwidth' value when 'softtabstop' is negative.
*/
long
get_sts_value(void)