Use (r)find_char instead of (r)find for single characters
This commit is contained in:
parent
5efd124ca1
commit
68f638cf02
70 changed files with 169 additions and 169 deletions
|
|
@ -80,7 +80,7 @@ void WebToolsEditorPlugin::_download_zip() {
|
|||
const String output_path = String("/tmp").path_join(output_name);
|
||||
|
||||
zipFile zip = zipOpen2(output_path.utf8().get_data(), APPEND_STATUS_CREATE, nullptr, &io);
|
||||
const String base_path = resource_path.substr(0, resource_path.rfind("/")) + "/";
|
||||
const String base_path = resource_path.substr(0, resource_path.rfind_char('/')) + "/";
|
||||
_zip_recursive(resource_path, base_path, zip);
|
||||
zipClose(zip, nullptr);
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue