updated to the current pikotools api from branch api2021
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2008-2018, Tomasz Sowa
|
||||
* Copyright (c) 2008-2021, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -122,8 +122,8 @@ void mount_css_tab_file_is_global(Info & i)
|
||||
int parcss = system->mounts.MountParCss();
|
||||
|
||||
if( mount_css_index < cur->mount->param[parcss].arg.size() )
|
||||
i.res = PT::IsSubString(L"http://", cur->mount->param[parcss].arg[mount_css_index].c_str()) ||
|
||||
PT::IsSubString(L"https://", cur->mount->param[parcss].arg[mount_css_index].c_str());
|
||||
i.res = PT::is_substr(L"http://", cur->mount->param[parcss].arg[mount_css_index].c_str()) ||
|
||||
PT::is_substr(L"https://", cur->mount->param[parcss].arg[mount_css_index].c_str());
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user