Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure the stemmer fully loads the init locale once
Since stemmer->current_lang is initialized before calling as_stemmer_reload, this first call to as_stemmer_reload is avoided. So, the stemmer has not been reloaded after the initialization finishes. This modification initializes stemmer->current_lang to NULL explicitely, but then the call to as_stemmer_reload makes sure the field is non-NULL at the end of the initialization function.
- Loading branch information