Skip to content
Snippets Groups Projects
Commit 50b4ff0a authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Replace line-feeds with space in extended descriptions used for short desc

Fixes cosmetic/readability issue when imported DIZ files that have line/word
wrapped text and the space between words was being removed.
parent b89eb698
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
Pipeline #6456 passed
......@@ -1151,6 +1151,7 @@ char* prep_file_desc(const char* ext, char* dest)
if(buf == NULL)
return NULL;
src = buf;
replace_chars(src, '\n', ' ');
strip_ctrl(src, src);
if(!str_is_ascii(src)) {
if(utf8_str_is_valid(src))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment