From 9e72886ee15acc39cbb6075ce32a60a5391ea9f3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 3 Apr 2017 02:12:42 +0300 Subject: Replace string::append with pathJoin. --- src/statuseffect.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/statuseffect.cpp') diff --git a/src/statuseffect.cpp b/src/statuseffect.cpp index 5143086df..4a26fc78c 100644 --- a/src/statuseffect.cpp +++ b/src/statuseffect.cpp @@ -92,8 +92,8 @@ AnimatedSprite *StatusEffect::getIcon() const } else { - return AnimatedSprite::load(paths.getStringValue( - "sprites").append(mIcon)); + return AnimatedSprite::load(pathJoin(paths.getStringValue("sprites"), + mIcon)); } } -- cgit v1.2.3-70-g09d2