Skip to content

Commit 92f6a42

Browse files
committed
revert the version strings to be just regular const
1 parent 3877d3d commit 92f6a42

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/Script.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -760,11 +760,11 @@ STDMETHODIMP TStdXtra_IMoaRegister::Register(PIMoaCache cacheInterfacePointer, P
760760
ThrowErr(cacheInterfacePointer->AddRegistryEntry(xtraEntryDictInterfacePointer, &CLSID_TStdXtra, &IID_IMoaMmXScript, &registryEntryDictInterfacePointer));
761761
ThrowNull(registryEntryDictInterfacePointer);
762762

763-
static const char* VER_MAJORVERSION_STRING = "0";
764-
static const char* VER_MINORVERSION_STRING = "5";
765-
static const char* VER_BUGFIXVERSION_STRING = "0";
763+
const char* VER_MAJORVERSION_STRING = "0";
764+
const char* VER_MINORVERSION_STRING = "5";
765+
const char* VER_BUGFIXVERSION_STRING = "0";
766766

767-
static const size_t VERSION_STRING_SIZE = min(256, kMoaMmMaxXtraMessageTable);
767+
const size_t VERSION_STRING_SIZE = min(256, kMoaMmMaxXtraMessageTable);
768768
char versionString[VERSION_STRING_SIZE] = "";
769769

770770
if (sprintf_s(versionString, VERSION_STRING_SIZE, versionInfo, VER_MAJORVERSION_STRING, VER_MINORVERSION_STRING, VER_BUGFIXVERSION_STRING) == -1) {

0 commit comments

Comments
 (0)