Files
@ r27335:a15210602664
Branch filter:
Location: cpp/openttd-patchpack/source/src/economy_base.h
r27335:a15210602664
1.9 KiB
text/x-c
Codechange: Use GetScrolled(Row/Item)FromWidget in more places.
In many instances the clicked row position is 'manually' calculated
instead of using the GetScrolledRowFromWidget helper function, with
variations on checks. Replace with the two helpers where possible.
In many instances the clicked row position is 'manually' calculated
instead of using the GetScrolledRowFromWidget helper function, with
variations on checks. Replace with the two helpers where possible.