summaryrefslogtreecommitdiff
path: root/yapp
diff options
context:
space:
mode:
Diffstat (limited to 'yapp')
-rw-r--r--yapp/services.cpp5
-rw-r--r--yapp/version.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/yapp/services.cpp b/yapp/services.cpp
index 1f822a9..2a5c71c 100644
--- a/yapp/services.cpp
+++ b/yapp/services.cpp
@@ -34,6 +34,11 @@ void StripBBCodesInPlace(wchar_t *text) {
read++;// skip the ']'
} else if(len - read >= 8 && (wcsnicmp(text + read, L"[/color]", 8) == 0))
read += 8;
+ 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))
+ read += 7;
else {
if(text[read] != text[write]) text[write] = text[read];
read++; write++;
diff --git a/yapp/version.h b/yapp/version.h
index 53b5dbd..c816a66 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 3
+#define __BUILD_NUM 4
#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
#define __FILEVERSION_STRING_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM