using PT::IsSubString* methods from pikotools
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@1138 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2008-2014, Tomasz Sowa
|
||||
* Copyright (c) 2008-2018, 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 = IsSubString(L"http://", cur->mount->param[parcss].arg[mount_css_index].c_str()) ||
|
||||
IsSubString(L"https://", cur->mount->param[parcss].arg[mount_css_index].c_str());
|
||||
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());
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user