1.1 --- a/core/smn_string.cpp Fri May 14 18:22:03 2010 -0700
1.2 +++ b/core/smn_string.cpp Fri May 14 19:28:10 2010 -0700
1.3 @@ -35,6 +35,7 @@
1.4 #include "sm_stringutil.h"
1.5 #include <ITextParsers.h>
1.6 #include <ctype.h>
1.7 +#include "logic_bridge.h"
1.8
1.9 inline const char *_strstr(const char *str, const char *substr)
1.10 {
1.11 @@ -68,7 +69,7 @@
1.12 pCtx->LocalToString(params[1], &str);
1.13 pCtx->LocalToString(params[2], &substr);
1.14
1.15 - func = (params[3]) ? _strstr : stristr;
1.16 + func = (params[3]) ? _strstr : logicore.stristr;
1.17 const char *pos = func(str, substr);
1.18 if (pos)
1.19 {