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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user