VirtualBox

Changeset 67482 in vbox for trunk/src


Ignore:
Timestamp:
Jun 19, 2017 4:57:58 PM (8 years ago)
Author:
vboxsync
Message:

IPRT: More ISO maker code (import related).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/fs/isomakerimport.cpp

    r67481 r67482  
    448448                && RT_C_IS_DIGIT(pThis->szNameBuf[cchName - 1]))
    449449            {
    450                 uint32_t off = 2;
    451                 while (   off <= 5
    452                        && off + 1 < cchName
    453                        && RT_C_IS_DIGIT(pThis->szNameBuf[cchName - off]))
    454                     off++;
    455                 if (   off + 1 < cchName
    456                     && pThis->szNameBuf[cchName - off] == ';')
    457                     pThis->szNameBuf[cchName - off] = '\0';
     450                uint32_t offName = 2;
     451                while (   offName <= 5
     452                       && offName + 1 < cchName
     453                       && RT_C_IS_DIGIT(pThis->szNameBuf[cchName - offName]))
     454                    offName++;
     455                if (   offName + 1 < cchName
     456                    && pThis->szNameBuf[cchName - offName] == ';')
     457                    pThis->szNameBuf[cchName - offName] = '\0';
    458458            }
    459459
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette