16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-18 00:49:19 +02:00

vehicleparams icons

This commit is contained in:
milek7
2019-09-23 21:08:05 +02:00
parent f093956b31
commit 203ea7f288
3 changed files with 13 additions and 3 deletions

View File

@@ -168,8 +168,8 @@ std::shared_ptr<ui::skin_meta> ui::vehicles_bank::parse_meta(const std::string &
meta->photo_author = win1250_to_utf8(meta->photo_author);
meta->search_lowered +=
ToLower("n:" + meta->name + "i:" + meta->short_id + "d:" + meta->location +
"r:" + meta->rev_date + "c:" + meta->rev_company + "t:" + meta->texture_author + "p:" + meta->photo_author);
ToLower("n:" + meta->name + ":i:" + meta->short_id + ":d:" + meta->location +
":r:" + meta->rev_date + ":c:" + meta->rev_company + ":t:" + meta->texture_author + ":p:" + meta->photo_author);
std::replace(std::begin(meta->location), std::end(meta->location), '_', ' ');
std::replace(std::begin(meta->rev_company), std::end(meta->rev_company), '_', ' ');