Increased buffer to play

Signed-off-by: tyrolyean <tyrolyean@tyrolyean.net>
This commit is contained in:
tyrolyean 2020-05-01 02:21:35 +02:00
parent 67dedfd5b1
commit 7dd39cd9a5
No known key found for this signature in database
GPG Key ID: EDD105663B707C62
1 changed files with 2 additions and 2 deletions

View File

@ -217,10 +217,10 @@ const char* get_prev_line(const char* message, size_t len_neg){
for(size_t i = 0; i < (len_neg-2); i++){
if(message[-i] == '\n'){
if(message[-(i+1)] == '\r'){
return message-(i+2);
return message-(i+1);
}else{
return message-(i+1);
return message-(i);
}
}