~ubuntu-branches/ubuntu/natty/gtkboard/natty

« back to all changes in this revision

Viewing changes to src/prefs.c

  • Committer: Bazaar Package Importer
  • Author(s): Barak A. Pearlmutter
  • Date: 2011-02-24 16:32:36 UTC
  • mto: (3.1.7 sid)
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: james.westby@ubuntu.com-20110224163236-trlakq1yjp0d749a
Tags: upstream-0.11pre0+cvs.2003.11.02
ImportĀ upstreamĀ versionĀ 0.11pre0+cvs.2003.11.02

Show diffs side-by-side

added added

removed removed

Lines of Context:
215
215
                        {
216
216
                                case SCORE_FIELD_NONE: found = TRUE; break;
217
217
                                case SCORE_FIELD_RANK:
218
 
                                           sprintf (tempstr, "%d", i);
219
 
                                           strings[j] = i ? tempstr : game_score_field_names[j];
 
218
                                                snprintf (tempstr, 128, "%d", i);
 
219
                                                strings[j] = i ? tempstr : game_score_field_names[j];
220
220
                                           break;
221
221
                                case SCORE_FIELD_USER:
222
222
                                                strings[j] = i ? scores[i-1].name : game_score_field_names[j];