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