Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

Remove function doesn't need

Abel You0590dacf4406
diff --git a/toonz/sources/toonz/exportalllevelspopup.cpp b/toonz/sources/toonz/exportalllevelspopup.cpp
index 8c53145ba..c7dec0e20 100644
--- a/toonz/sources/toonz/exportalllevelspopup.cpp
+++ b/toonz/sources/toonz/exportalllevelspopup.cpp
@@ -419,7 +419,7 @@ std::wstring ExportAllLevelsPopup::backfoldername(std::string colname,
if (pos != std::wstring::npos) {
foldername.insert(0,to_wstring(colname.substr(0, pos)));
} else {
- foldername.insert(0,to_wstring(colname.substr(0,colname.size())));
+ foldername.insert(0,to_wstring(colname));
}
return foldername;
}