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