[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 01/04: Fix #80
From: |
Dmitry Gutov |
Subject: |
[elpa] 01/04: Fix #80 |
Date: |
Wed, 19 Mar 2014 03:30:14 +0000 |
dgutov pushed a commit to branch master
in repository elpa.
commit f87c8258887fd8f382be7d542ac8a1873c224fdf
Author: Dmitry Gutov <address@hidden>
Date: Tue Mar 18 09:50:06 2014 +0200
Fix #80
---
company-clang.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/company-clang.el b/company-clang.el
index 9427450..cfd9cd4 100644
--- a/company-clang.el
+++ b/company-clang.el
@@ -196,7 +196,7 @@ or automatically through a custom
`company-clang-prefix-guesser'."
(format "%s:%d:%d"
(if (company-clang--auto-save-p) buffer-file-name "-")
(line-number-at-pos)
- (1+ (current-column)))))
+ (- (point) (line-beginning-position) -1))))
(defsubst company-clang--build-complete-args (pos)
(append '("-cc1" "-fsyntax-only" "-code-completion-macros")