summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/dye/dye.cpp3
1 files changed, 2 insertions, 1 deletions
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;