src: Fix the string conversion of range faces

Fixes #1250
This commit is contained in:
Frank LENORMAND 2017-03-01 22:16:35 +03:00
parent 947b518f03
commit aecc0fbb0f

View File

@ -14,7 +14,7 @@ String option_to_string(BufferRange range)
{ {
return format("{}.{},{}.{}", return format("{}.{},{}.{}",
range.begin.line+1, range.begin.column+1, range.begin.line+1, range.begin.column+1,
range.end.line, range.end.column); range.end.line+1, range.end.column);
} }
void option_from_string(StringView str, BufferRange& opt) void option_from_string(StringView str, BufferRange& opt)