summaryrefslogtreecommitdiff
path: root/src/os/windows
diff options
context:
space:
mode:
authorHenry Wilson <m3henry@googlemail.com>2019-02-20 19:27:10 +0000
committerPeterN <peter@fuzzle.org>2019-03-26 20:15:57 +0000
commit2bc2de9034d3b75a253b849cf7a703b1a503e200 (patch)
tree39f3a8e94a6f993f20dbbf027b6cdd684ab4ce4c /src/os/windows
parente0c58bf5ee0f3f4d0563a04de315c09b37f74c6e (diff)
downloadopenttd-2bc2de9034d3b75a253b849cf7a703b1a503e200.tar.xz
Codechange: Replaced SmallVector::Find() with std::find()
Diffstat (limited to 'src/os/windows')
-rw-r--r--src/os/windows/string_uniscribe.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/windows/string_uniscribe.cpp b/src/os/windows/string_uniscribe.cpp
index f1c62c7d3..ec0e02639 100644
--- a/src/os/windows/string_uniscribe.cpp
+++ b/src/os/windows/string_uniscribe.cpp
@@ -424,7 +424,7 @@ static std::vector<SCRIPT_ITEM> UniscribeItemizeString(UniscribeParagraphLayoutF
if (!UniscribeShapeRun(this->text_buffer, run)) return NULL;
}
- *line->Append() = new UniscribeVisualRun(run, cur_pos);
+ line->push_back(new UniscribeVisualRun(run, cur_pos));
cur_pos += run.total_advance;
}