summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-10-11 07:36:47 +0000
committersje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-10-11 07:36:47 +0000
commit75cf723182f3017a1dfb9c06cb6d1ed177abab68 (patch)
treeb3b9bcff0822415bfb0e658ab835e30e7a3164a9
parentfe4a1ffb645645269e9380376692aa7f0bf92c4d (diff)
fix for incorrect string length of ending size tag
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@360 4f64403b-2f21-0410-a795-97e2b3489a10
-rw-r--r--yapp/services.cpp2
-rw-r--r--yapp/version.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/yapp/services.cpp b/yapp/services.cpp
index 2a5c71c..86a753f 100644
--- a/yapp/services.cpp
+++ b/yapp/services.cpp
@@ -37,7 +37,7 @@ void StripBBCodesInPlace(wchar_t *text) {
else if(len - read >= 5 && (wcsnicmp(text + read, L"[size", 5) == 0)) {
while(read < len && text[read] != L']') read++;
read++;// skip the ']'
- } else if(len - read >= 7 && (wcsnicmp(text + read, L"[/size]", 8) == 0))
+ } else if(len - read >= 7 && (wcsnicmp(text + read, L"[/size]", 7) == 0))
read += 7;
else {
if(text[read] != text[write]) text[write] = text[read];
diff --git a/yapp/version.h b/yapp/version.h
index c816a66..23fa7d1 100644
--- a/yapp/version.h
+++ b/yapp/version.h
@@ -4,7 +4,7 @@
#define __MAJOR_VERSION 0
#define __MINOR_VERSION 5
#define __RELEASE_NUM 0
-#define __BUILD_NUM 4
+#define __BUILD_NUM 5
#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
#define __FILEVERSION_STRING_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM