Skip to content

Commit

Permalink
Merge pull request #4145 from brave/bsc-p3a-sent-answer-count-fix
Browse files Browse the repository at this point in the history
Fix comparison logic for P3A question Brave.P3A.SentAnswersCount
  • Loading branch information
bsclifton committed Dec 6, 2019
1 parent 2599860 commit 06094fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/p3a/brave_p3a_log_store.cc
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ void RecordP3A(uint64_t answers_count) {
int answer = 0;
if (1 <= answers_count && answers_count < 5) {
answer = 1;
} else if (5 <- answers_count && answers_count < 10) {
} else if (5 <= answers_count && answers_count < 10) {
answer = 2;
} else {
answer = 3;
Expand Down

0 comments on commit 06094fb

Please sign in to comment.