Fix for spelling (#2051)

* Fix for spelling
* Review iteration

Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
Maksim Derbasov
2022-11-29 01:51:51 +09:00
committed by GitHub
parent 03140e4349
commit e121e6a287
36 changed files with 58 additions and 58 deletions

View File

@@ -43,7 +43,7 @@ static void text_box_process_up(TextBox* text_box) {
model->scroll_pos--;
// Reach last symbol of previous line
model->text_pos--;
// Search prevous line start
// Search previous line start
while((model->text_pos != model->text) && (*(--model->text_pos) != '\n'))
;
if(*model->text_pos == '\n') {