Get history working in web_config again

This commit is contained in:
ridiculousfish
2018-09-08 22:13:54 -07:00
parent b9c50e400f
commit 6e6fcda8e2
3 changed files with 5 additions and 4 deletions

View File

@@ -2026,7 +2026,7 @@ static parser_test_error_bits_t default_test(const wcstring &b) {
return 0;
}
void reader_change_history(const wchar_t *name) {
void reader_change_history(const wcstring &name) {
// We don't need to _change_ if we're not initialized yet.
reader_data_t *data = current_data_or_null();
if (data && data->history) {