commit 2800bac442b6664d52ad348b9af16ea64ce857f0
parent 353d45ad1b7e01df8304c9941e72d8b372c72505
Author: Bertrand BRUN <bertrand0brun@gmail.com>
Date: Thu, 17 Mar 2011 13:23:18 +0100
Correction d'un bug dans l'affichage du score
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/code/PtiClic/src/org/pticlic/BaseScore.java b/code/PtiClic/src/org/pticlic/BaseScore.java
@@ -105,21 +105,21 @@ public class BaseScore extends Activity implements OnClickListener{
}
((TextView)findViewById(R.id.scoreWords1)).setText(res.length() < 1 ? noAnswers : res);
- res = noAnswers;
+ res = "";
for (int i : gamePlayed.getRelation2()) {
res += bg.getWordInCloud(i).getName();
res += " (" + String.valueOf(sr.getScoreOfWord(i)) + "), ";
}
((TextView)findViewById(R.id.scoreWords2)).setText(res.length() < 1 ? noAnswers : res);
- res = noAnswers;
+ res = "";
for (int i : gamePlayed.getRelation3()) {
res += bg.getWordInCloud(i).getName();
res += " (" + String.valueOf(sr.getScoreOfWord(i)) + "), ";
}
((TextView)findViewById(R.id.scoreWords3)).setText(res.length() < 1 ? noAnswers : res);
- res = noAnswers;
+ res = "";
for (int i : gamePlayed.getRelation4()) {
res += bg.getWordInCloud(i).getName();
res += " (" + String.valueOf(sr.getScoreOfWord(i)) + "), ";