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:
Stephan Bergmann 2017-08-28 18:18:12 +02:00
parent d21f67fa7f
commit cda4cea7cd

View File

@ -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)