diff --git a/kernel/textbuffer.cpp b/kernel/textbuffer.cpp index b6a5c744..d45eae9d 100644 --- a/kernel/textbuffer.cpp +++ b/kernel/textbuffer.cpp @@ -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;