From 0ce6bd9bf54332d9eed8c7462ab4dfe08f8fac95 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 11 Oct 2012 00:41:48 +0200 Subject: use ByteCount instead of CharCount when we are really counting bytes (that is most of the time when we are not concerned with displaying) --- src/buffer_manager.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/buffer_manager.hh') diff --git a/src/buffer_manager.hh b/src/buffer_manager.hh index ca84c9e8..d8065578 100644 --- a/src/buffer_manager.hh +++ b/src/buffer_manager.hh @@ -30,7 +30,7 @@ public: void set_last_used_buffer(Buffer& buffer); CandidateList complete_buffername(const String& prefix, - CharCount cursor_pos = -1); + ByteCount cursor_pos = -1); private: BufferList m_buffers; -- cgit v1.2.3