Fix operator spacing in kernel/textbuffer.cpp.
This commit is contained in:
parent
0def94568a
commit
7bc9e067ec
|
@ -144,7 +144,7 @@ void TextBufferHandle::FinishReplace(TextBuffer* newtextbuf)
|
||||||
else if ( src_width && src_height )
|
else if ( src_width && src_height )
|
||||||
{
|
{
|
||||||
TextPos templ_pos;
|
TextPos templ_pos;
|
||||||
templ_pos.x = src_y < src_width ? src_y : src_x- 1;
|
templ_pos.x = src_y < src_width ? src_y : src_x - 1;
|
||||||
templ_pos.y = src_y < src_height ? src_y : src_height - 1;
|
templ_pos.y = src_y < src_height ? src_y : src_height - 1;
|
||||||
tc = textbuf->GetChar(templ_pos);
|
tc = textbuf->GetChar(templ_pos);
|
||||||
tc.c = 0;
|
tc.c = 0;
|
||||||
|
|
Loading…
Reference in New Issue