From 10a1ccba3c56229785ccd802591ce96784bfaeee Mon Sep 17 00:00:00 2001 From: eidheim Date: Sun, 4 Jul 2021 10:07:45 +0200 Subject: [PATCH] Reduced width of C/C++ completions slightly --- src/source_clang.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/source_clang.cpp b/src/source_clang.cpp index c77596d..8adf276 100644 --- a/src/source_clang.cpp +++ b/src/source_clang.cpp @@ -1049,7 +1049,7 @@ Source::ClangViewAutocomplete::ClangViewAutocomplete(const boost::filesystem::pa break; } if(kind == clangmm::CompletionChunk_ResultType) - return_text = std::string(" → ") + chunk_cstr.c_str; + return_text = std::string(" → ") + chunk_cstr.c_str; else text += chunk_cstr.c_str; } @@ -1105,7 +1105,7 @@ Source::ClangViewAutocomplete::ClangViewAutocomplete(const boost::filesystem::pa } std::string row; - auto pos = text.find(" → "); + auto pos = text.find(" → "); if(pos != std::string::npos) row = text.substr(0, pos); else