diff options
author | George Hazan <george.hazan@gmail.com> | 2014-11-30 18:51:36 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-11-30 18:51:36 +0000 |
commit | 688f55ba998c19304a29727c910504903f4cc49a (patch) | |
tree | 69121ebb6d02bcf9e670428b11813087fc7f1640 /plugins/WebView/src/webview_cleanup.cpp | |
parent | 4f0e30cdf56fbafdf955bbe8b93930bab9e39bd0 (diff) |
lstr* replacements
git-svn-id: http://svn.miranda-ng.org/main/trunk@11176 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/WebView/src/webview_cleanup.cpp')
-rw-r--r-- | plugins/WebView/src/webview_cleanup.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/WebView/src/webview_cleanup.cpp b/plugins/WebView/src/webview_cleanup.cpp index bf34ef46d5..f6336cb83f 100644 --- a/plugins/WebView/src/webview_cleanup.cpp +++ b/plugins/WebView/src/webview_cleanup.cpp @@ -689,10 +689,10 @@ void FastTagFilter(char *truncated) if (truncated)
strncpy(tempraw, truncated, MAXSIZE1);
- for (int counter = 0; counter < lstrlenA(tempraw); counter++) {
+ for (int counter = 0; counter < mir_strlen(tempraw); counter++) {
if (tempraw[counter] == '<') {
while (tempraw[counter] != '>') {
- if (counter >= lstrlenA(tempraw))
+ if (counter >= mir_strlen(tempraw))
break;
tempraw[counter] = ' ';
@@ -729,7 +729,7 @@ void RemoveInvis(char *truncated, int AmountWspcRem) break;
}
- for (int counter = 0; counter < lstrlenA(tempraw); counter++) {
+ for (int counter = 0; counter < mir_strlen(tempraw); counter++) {
if (AmountWspcRem != 0 && AmountWspcRem != 4) {
if ((tempraw[counter] == '\n') || (tempraw[counter] == ' ') || (tempraw[counter] == '\r'))
erase = erase + 1;
@@ -756,7 +756,7 @@ void RemoveTabs(char *truncated) if (truncated)
strncpy(tempraw, truncated, MAXSIZE1);
- for (int counter = 0; counter < lstrlenA(tempraw); counter++)
+ for (int counter = 0; counter < mir_strlen(tempraw); counter++)
if (tempraw[counter] == '\t')
tempraw[counter] = ' ';
@@ -770,7 +770,7 @@ void Removewhitespace(char *truncated) int counter2 = 0;
int pos1 = 0, pos2 = 0;
- for (int counter = 0; counter < lstrlenA(truncated); counter++) {
+ for (int counter = 0; counter < mir_strlen(truncated); counter++) {
if (truncated[counter] == ' ' && truncated[counter + 1] == ' ') {
pos1 = counter + 1;
counter2 = counter;
@@ -790,7 +790,7 @@ void Filter(char *truncated) char tempraw[MAXSIZE1];
strncpy(tempraw, truncated, SIZEOF(tempraw));
- for (int counter = 0; counter < lstrlenA(tempraw); counter++)
+ for (int counter = 0; counter < mir_strlen(tempraw); counter++)
if ((tempraw[counter] == '\n') || (tempraw[counter] == '\r') || (tempraw[counter] == '\t'))
strncpy(&tempraw[counter], &tempraw[counter + 1], strlen(&tempraw[counter]) - 1);
|