From e4fd839ddaaf3fc68df2cb502a633a2ae6a9f86f Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 23 Aug 2012 23:56:35 +0200 Subject: use a strongly typed int CharCount for character counts --- src/display_buffer.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/display_buffer.hh') diff --git a/src/display_buffer.hh b/src/display_buffer.hh index f48807c4..110b6be2 100644 --- a/src/display_buffer.hh +++ b/src/display_buffer.hh @@ -12,7 +12,7 @@ namespace Kakoune struct DisplayCoord : LineAndColumn { - DisplayCoord(LineCount line = 0, int column = 0) + DisplayCoord(LineCount line = 0, CharCount column = 0) : LineAndColumn(line, column) {} template -- cgit v1.2.3