From dc569bbcb4c12a5a400f9e5701e5c1027badadae Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 30 Apr 2014 19:52:34 +0300 Subject: Fix code style in resources. --- src/resources/resourcemanager.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/resources/resourcemanager.cpp') diff --git a/src/resources/resourcemanager.cpp b/src/resources/resourcemanager.cpp index 4eca5552e..a65fc508c 100644 --- a/src/resources/resourcemanager.cpp +++ b/src/resources/resourcemanager.cpp @@ -599,15 +599,15 @@ struct DyedImageLoader if (!rl->manager) return nullptr; - std::string path = rl->path; - const size_t p = path.find('|'); + std::string path1 = rl->path; + const size_t p = path1.find('|'); Dye *d = nullptr; if (p != std::string::npos) { - d = new Dye(path.substr(p + 1)); - path = path.substr(0, p); + d = new Dye(path1.substr(p + 1)); + path1 = path1.substr(0, p); } - SDL_RWops *const rw = MPHYSFSRWOPS_openRead(path.c_str()); + SDL_RWops *const rw = MPHYSFSRWOPS_openRead(path1.c_str()); if (!rw) { delete d; -- cgit v1.2.3-60-g2f50