Skip to content

Commit

Permalink
Fix kills folder
Browse files Browse the repository at this point in the history
Closes #76
  • Loading branch information
alexbatalov committed Jul 15, 2022
1 parent 1e5cda5 commit 8ab7f84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/character_editor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2193,7 +2193,7 @@ static int characterEditorDrawKillsFolder()
}

if (usedKills != 0) {
qsort(kills, usedKills, 12, characterEditorKillsCompare);
qsort(kills, usedKills, sizeof(*kills), characterEditorKillsCompare);

for (i = 0; i < usedKills; i++) {
KillInfo* killInfo = &(kills[i]);
Expand Down

0 comments on commit 8ab7f84

Please sign in to comment.