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:
2018-11-01 00:46:44 +00:00
parent 8f6004d444
commit 919c2f62f5
26 changed files with 272 additions and 143 deletions

View File

@@ -45,6 +45,7 @@
#include "textstream/textstream.h"
#include "utf8/utf8.h"
#include "winix_const.h"
#include "convert/convert.h"
@@ -419,7 +420,7 @@ size_t i = 0;
while( i < buf.size() )
{
if( IsSubString(look_for.c_str(), buf.c_str() + i) )
if( PT::IsSubString(look_for.c_str(), buf.c_str() + i) )
{
buf.erase(i, look_for.size());
buf.insert(i, replace);