Changeset 5336


Ignore:
Timestamp:
08/17/10 17:23:41 (15 years ago)
Author:
Eric.Larour
Message:

Big mistake in incrementing the operator i!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/shared/String/isdistributed.cpp

    r5331 r5336  
    3434       
    3535                /*Start from the end, until we find a letter, which we will, otherwise error out: */
    36                 for(i=strlen(name)-1;i>=0;i++){
     36                for(i=strlen(name)-1;i>=0;i--){
    3737                        if (isdigit(name[i])){
    3838                                root[i]='\0'; //finish the string here and keep looking for a letter
Note: See TracChangeset for help on using the changeset viewer.