Fix Find-in-Files macro playback ignoring empty Filters by 4RH1T3CT0R7 · Pull Request #17468 · notepad-plus-plus/notepad-plus-plus
Fix #8170 - Find-in-Files macro playback returns 0 hits when Filters box was empty
setFindInFilesDirFilter() wrote to _options directly instead of through
_env. During macro playback, _env points to a temporary FindOption object,
so the default *.* filter was written to the wrong object — leaving the
temporary's _filters empty and matching nothing.
Changed _options._directory and _options._filters to _env->_directory and
_env->_filters. Since _env == &_options during normal operation, behavior
is unchanged outside of macro playback.