From 485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 5 Nov 2018 01:09:30 +0300 Subject: Fix code style. --- src/resources/dye/dye.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/resources') diff --git a/src/resources/dye/dye.cpp b/src/resources/dye/dye.cpp index 0e8f87a78..df4d165cc 100644 --- a/src/resources/dye/dye.cpp +++ b/src/resources/dye/dye.cpp @@ -105,7 +105,8 @@ void Dye::instantiate(std::string &restrict target, std::ostringstream s; s << target.substr(0, next_pos); - size_t last_pos = target.length(), pal_pos = 0; + size_t last_pos = target.length(); + size_t pal_pos = 0; do { const size_t pos = next_pos; -- cgit v1.2.3-70-g09d2