diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2012-08-23 23:56:35 +0200 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2012-08-23 23:56:35 +0200 |
| commit | e4fd839ddaaf3fc68df2cb502a633a2ae6a9f86f (patch) | |
| tree | 681b2a63eb9b9497b97697e3f1479a7b20270427 /src/display_buffer.hh | |
| parent | 0d8cce272831cd896d0e69d7c86cc9afc521eb11 (diff) | |
use a strongly typed int CharCount for character counts
Diffstat (limited to 'src/display_buffer.hh')
| -rw-r--r-- | src/display_buffer.hh | 2 |
1 files changed, 1 insertions, 1 deletions
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> { - DisplayCoord(LineCount line = 0, int column = 0) + DisplayCoord(LineCount line = 0, CharCount column = 0) : LineAndColumn(line, column) {} template<typename T> |
