Changeset 177ffd7 for nick.c


Ignore:
Timestamp:
2010-07-17T10:04:51Z (9 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
d0527c1
Parents:
e437366
Message:

nick_gen() should also insert an underscore if the first character of a nick
would otherwise be a digit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nick.c

    re437366 r177ffd7  
    185185                                                "UTF-8", NULL, NULL, NULL );
    186186               
     187                if( ret->len == 0 && *part && isdigit( *part ) )
     188                        g_string_append_c( ret, '_' );
     189               
    187190                while( part && *part && *part != chop )
    188191                {
Note: See TracChangeset for help on using the changeset viewer.