diff options
Diffstat (limited to 'source/blender/freestyle/intern/system/StringUtils.cpp')
-rw-r--r-- | source/blender/freestyle/intern/system/StringUtils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/system/StringUtils.cpp b/source/blender/freestyle/intern/system/StringUtils.cpp index 1ecd5a2126d..c4a96ce3305 100644 --- a/source/blender/freestyle/intern/system/StringUtils.cpp +++ b/source/blender/freestyle/intern/system/StringUtils.cpp @@ -21,7 +21,7 @@ void getPathName(const string &path, const string &base, vector<string> &pathnam pathnames.push_back(base); - for (unsigned int pos = 0, sep = path.find(Config::PATH_SEP, pos); pos < size; + for (uint pos = 0, sep = path.find(Config::PATH_SEP, pos); pos < size; pos = sep + 1, sep = path.find(Config::PATH_SEP, pos)) { if (sep == (unsigned)string::npos) { sep = size; |