Kaydet (Commit) cda4cea7 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

tdf#100501: Fix thinko

...in previous 52ffad9b "tdf#100501: Adapt to
Java 9 (at least on Linux x86-64)"

Change-Id: I4d6bc31e0a7051a2657bb3d1ffc20c7a03d69038
üst d21f67fa
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment