Debian Codegraph @

debian/patches/shorter-nick

raw symbols SCIP
1 Description: Shorter nick
2 nickname for lan game is limited to 12 char by the server. frozen-bubble adds a 'lan-' prefix so the limit
3 is actually 8. THis nick is used only for lan games so
4 the hi-score should not be affected.
5 Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=459666
6 --- a/bin/frozen-bubble
7 +++ b/bin/frozen-bubble
8 @@ -203,7 +203,7 @@
9 --colour-blind use bubbles for colourblind people
10 --joysticks-info print information about detected joystick(s) on startup
11 --no-echo when sound is enabled, disable echoing each typed character with a typewriter sound
12 - --my-nick <nick> for net/lan games, use this nick instead of username (max 10 chars, ASCII alphanumeric plus dash and underscore only)
13 + --my-nick <nick> for net/lan games, use this nick instead of username (max 8 chars, ASCII alphanumeric plus dash and underscore only)
14 --private when starting a net game, don't use http://hostip.info/ to retrieve your geographical position to send it to other players
15 --record <dir> specify the recording directory (normally, records are saved in the directory '$FBHOME/records')
16 --auto-record automatically record all applicable games (normally, a record is triggered by hitting the Print Screen key during a game)
17 @@ -3682,7 +3682,7 @@
18
19 sub sanitize_nick {
20 my ($nick) = @_;
21 - $nick = substr($nick, 0, 10);
22 + $nick = substr($nick, 0, 8);
23 $nick =~ s/[^a-zA-Z0-9_-]//g;
24 return $nick;
25 }