tdf#100501: Fix thinko
...in previous 52ffad9bb7
"tdf#100501: Adapt to
Java 9 (at least on Linux x86-64)"
Change-Id: I4d6bc31e0a7051a2657bb3d1ffc20c7a03d69038
This commit is contained in:
@@ -97,7 +97,7 @@ bool SunVersion::init(const char *szVersion)
|
|||||||
pCur + 1 != pEnd
|
pCur + 1 != pEnd
|
||||||
|| rtl::isAsciiDigit(static_cast<unsigned char>(*pCur))) )
|
|| rtl::isAsciiDigit(static_cast<unsigned char>(*pCur))) )
|
||||||
{
|
{
|
||||||
bool afterMaint = pCur != pEnd && (*pCur == '_' || *pCur == '-');
|
bool afterMaint = pCur == pEnd || *pCur == '_' || *pCur == '-';
|
||||||
|
|
||||||
int len = pCur - pLast;
|
int len = pCur - pLast;
|
||||||
if (len >= 127)
|
if (len >= 127)
|
||||||
|
Reference in New Issue
Block a user