diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-08-28 18:18:12 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-08-28 18:18:12 +0200 |
commit | cda4cea7cdfc9a8de814b901b3b957f029d36aaf (patch) | |
tree | aa8b3d9cc5d07da0dfbd1f85fc10ed3ff562098b /jvmfwk | |
parent | d21f67fa7fd0360688e083eeb2bbcd57f5414d71 (diff) |
tdf#100501: Fix thinko
...in previous 52ffad9bb7be800790de6d918154dbeade88cadd "tdf#100501: Adapt to
Java 9 (at least on Linux x86-64)"
Change-Id: I4d6bc31e0a7051a2657bb3d1ffc20c7a03d69038
Diffstat (limited to 'jvmfwk')
-rw-r--r-- | jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx b/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx index 23c5983dcbc4..f5b60e6702d4 100644 --- a/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx +++ b/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx @@ -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) |