--- src/multiplayer.c	2010-02-22 04:57:19.000000000 +0530
+++ /media/2bb59ca4-d1a9-4b65-995b-da511650cef4/eduboss-3.0-i386/tuxmath/tuxmath-1.8.0/src/multiplayer.c	2013-04-12 09:09:22.000000000 +0530
@@ -249,15 +249,21 @@
 
   //allocate and enter player names
   for (i = 0; i < nplayers; ++i)
+  {
     pnames[i] = malloc((1 + 3 * HIGH_SCORE_NAME_LENGTH) * sizeof(char) );
+    strcpy(pnames[i], "");
+  }
   for (i = 0; i < nplayers; ++i)
   {
     if (pnames[i])
     {
-      if (i == 0) //First player
-        NameEntry(pnames[i], N_("Who is playing first?"), N_("Enter your name:"));
-      else //subsequent players
-        NameEntry(pnames[i], N_("Who is playing next?"), N_("Enter your name:"));
+      while(strcmp(pnames[i], "") == 0)
+      {
+        if (i == 0) //First player
+          NameEntry(pnames[i], N_("Who is playing first?"), N_("Enter your name:"));
+        else //subsequent players
+          NameEntry(pnames[i], N_("Who is playing next?"), N_("Enter your name:"));
+      }	
     }
     else
     {
