Changeset 0f7eccff for nick.c


Ignore:
Timestamp:
2015-05-31T00:11:20Z (9 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
6e21525
Parents:
c42d991 (diff), f453a7f (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'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nick.c

    rc42d991 r0f7eccff  
    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.