Changeset a1d30c5 for nick.c


Ignore:
Timestamp:
2015-05-28T04:12:23Z (9 years ago)
Author:
dequis <dx@…>
Children:
d2d2b80
Parents:
ec8b369 (diff), 3d31618 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'develop' into feat/hip-cat

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nick.c

    rec8b369 ra1d30c5  
    368368
    369369        if (tab['A'] == 0) {
     370                /* initialize table so nonchars are mapped to themselves */
     371                for (i = 0; i < sizeof(tab); i++) {
     372                        tab[i] = i;
     373                }
     374                /* replace uppercase chars with lowercase chars */
    370375                for (i = 0; nick_lc_chars[i]; i++) {
    371376                        tab[(int) nick_uc_chars[i]] = nick_lc_chars[i];
    372                         tab[(int) nick_lc_chars[i]] = nick_lc_chars[i];
    373377                }
    374378        }
Note: See TracChangeset for help on using the changeset viewer.