summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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