Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 171789
Collapse All | Expand All

(-)/tmp/llk_linux-2.3/src/main.c (-6 / +4 lines)
Lines 1962-1968 Link Here
1962
      insert_pos++; 
1962
      insert_pos++; 
1963
    }
1963
    }
1964
    if(insert_pos > 10)
1964
    if(insert_pos > 10)
1965
    {insert_pos=0;score_item_tmp=NULL;}
1965
    {/*insert_pos=0;score_item_tmp=NULL;}*/
1966
      g_free (path);
1967
      return;/* If player's score is not within 10,no record it,and no show the score window. */
1968
    }
1966
    else
1969
    else
1967
    {
1970
    {
1968
      if(insert_pos == 1)
1971
      if(insert_pos == 1)
Lines 2048-2058 Link Here
2048
        g_print(_("Open score.dat error.\n"));
2051
        g_print(_("Open score.dat error.\n"));
2049
      }
2052
      }
2050
    }
2053
    }
2051
    else
2052
    {
2053
	  g_free (path);
2054
      return;/* If player's score is not within 10,no record it,and no show the score window. */
2055
    }
2056
  }
2054
  }
2057
  g_free (path);
2055
  g_free (path);
2058
  /* Create a new window to show scores. */
2056
  /* Create a new window to show scores. */

Return to bug 171789