1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Fix operator spacing in kernel/textbuffer.cpp.

This commit is contained in:
Jonas 'Sortie' Termansen 2017-04-14 19:52:32 +02:00
parent 0def94568a
commit 7bc9e067ec

View file

@ -144,7 +144,7 @@ void TextBufferHandle::FinishReplace(TextBuffer* newtextbuf)
else if ( src_width && src_height )
{
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;
tc = textbuf->GetChar(templ_pos);
tc.c = 0;