[Libreoffice-commits] .: jvmfwk/plugins

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Oct 15 11:27:15 PDT 2012


 jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit c87303da4a41b0f99474a8f54a2dc359ec14e05f
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Mon Oct 15 20:24:26 2012 +0200

    fix typos
    
    Change-Id: I3bca3709ba759894ce77bab412f5082718ea25c5

diff --git a/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx b/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx
index 55ee269..463159c 100644
--- a/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx
+++ b/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx
@@ -187,13 +187,13 @@ bool SunVersion::init(const char *szVersion)
 #if defined(FREEBSD)
       if (m_preRelease == Rel_FreeBSD)
       {
-          pCur++; //elemnate `p'
+          pCur++; //eliminate 'p'
           if (pCur < pEnd && isdigit(*pCur))
               pCur ++;
-          int len = pCur - pLast -1; //elemenate `p'
+          int len = pCur - pLast -1; //eliminate 'p'
           if (len >= 127)
               return false;
-          strncpy(buf, (pLast+1), len); //elemenate `p'
+          strncpy(buf, (pLast+1), len); //eliminate 'p'
           buf[len] = 0;
           m_nUpdateSpecial = atoi(buf)+100; //hack for FBSD #i56953#
           return true;


More information about the Libreoffice-commits mailing list