diff options
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 208ff6852743..f2f2ae0d7549 100644 --- a/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx +++ b/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx @@ -60,7 +60,7 @@ SunVersion::SunVersion(const char * szVer): */ bool SunVersion::init(const char *szVersion) { - if ( ! szVersion || strlen(szVersion) == 0) + if (!szVersion || szVersion[0] == '\0') return false; //first get the major,minor,maintenance |