diff options
author | FearlessTobi <thm.frey@gmail.com> | 2021-01-18 01:22:54 +0100 |
---|---|---|
committer | FearlessTobi <thm.frey@gmail.com> | 2021-01-18 01:22:54 +0100 |
commit | bf9f737c609a2831ad52aab68030fb888c64bd01 (patch) | |
tree | bcfaf2a20101d921925d34c0dac02b6c0a60b562 /src/core | |
parent | e8401964b4cb617223554e147091f109dc870ba5 (diff) |
game_list: Fix folder reordering
The bug(s) happened because we swapped the contents on values.game_dirs, but the pointer each item had to their respective game_dir wasn't updated. This made it so that the item had the wrong game_dir associated with it after a "move up" or "move down" operation. It can be observed by choosing "open directory location" after such operation.
Changed from raw pointer to an index because it's equivalent but a bit clearer, but the change is not essential.
Co-Authored-By: Vitor K <29167336+vitor-k@users.noreply.github.com>
Diffstat (limited to 'src/core')
0 files changed, 0 insertions, 0 deletions