diff options
-rw-r--r-- | tipper/subst.cpp | 2 | ||||
-rw-r--r-- | tipper/tipper_8.vcproj | 2 | ||||
-rw-r--r-- | tipper/version.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tipper/subst.cpp b/tipper/subst.cpp index 5eb6e49..7f43b51 100644 --- a/tipper/subst.cpp +++ b/tipper/subst.cpp @@ -14,7 +14,7 @@ void StripBBCodesInPlace(wchar_t *text) { if(text[read] != text[write]) text[write] = text[read]; read++; write++; } - if(read == len) break; + if(read > len) break; if(len - read >= 3 && (wcsnicmp(text + read, L"[b]", 3) == 0 || wcsnicmp(text + read, L"[i]", 3) == 0)) read += 3; diff --git a/tipper/tipper_8.vcproj b/tipper/tipper_8.vcproj index 3858b89..0ba6fa1 100644 --- a/tipper/tipper_8.vcproj +++ b/tipper/tipper_8.vcproj @@ -44,7 +44,7 @@ PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;TIPPER_EXPORTS;_UNICODE;UNICODE;MICROSOFT_LAYER_FOR_UNICODE=1"
MinimalRebuild="true"
BasicRuntimeChecks="3"
- RuntimeLibrary="3"
+ RuntimeLibrary="1"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="common.h"
WarningLevel="3"
diff --git a/tipper/version.h b/tipper/version.h index a3a11e4..38543c0 100644 --- a/tipper/version.h +++ b/tipper/version.h @@ -4,7 +4,7 @@ #define __MAJOR_VERSION 0
#define __MINOR_VERSION 2
#define __RELEASE_NUM 4
-#define __BUILD_NUM 1
+#define __BUILD_NUM 3
#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
#define __FILEVERSION_STRING_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM
|