Changeset fe63ed3
- Timestamp:
- 2015-05-28T04:03:28Z (10 years ago)
- Branches:
- master
- Children:
- 24f113b
- Parents:
- 09bd226
- git-author:
- Evan Klitzke <evan@…> (20-05-15 22:19:14)
- git-committer:
- dequis <dx@…> (28-05-15 04:03:28)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nick.c
r09bd226 rfe63ed3 368 368 369 369 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 */ 370 375 for (i = 0; nick_lc_chars[i]; i++) { 371 376 tab[(int) nick_uc_chars[i]] = nick_lc_chars[i]; 372 tab[(int) nick_lc_chars[i]] = nick_lc_chars[i];373 377 } 374 378 }
Note: See TracChangeset
for help on using the changeset viewer.