aboutsummaryrefslogtreecommitdiffhomepage
path: root/history.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-07-29 14:41:21 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-07-29 14:42:03 -0700
commit52ae5f885e9c72b7b1477156bdb946fc78294052 (patch)
tree10bb26e2dc7f7c4c79fbf11aca2d34ae6f44e436 /history.h
parentb6658c54974f0488de89042545e417d2b9d2b5eb (diff)
Improve history robustness against corrupt files
Fixes #1581
Diffstat (limited to 'history.h')
-rw-r--r--history.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/history.h b/history.h
index 5b7292e8..921f09c5 100644
--- a/history.h
+++ b/history.h
@@ -237,7 +237,7 @@ public:
void incorporate_external_changes();
/* Gets all the history into a string with ARRAY_SEP_STR. This is intended for the $history environment variable. This may be long! */
- void get_string_representation(wcstring &str, const wcstring &separator);
+ void get_string_representation(wcstring *result, const wcstring &separator);
/** Sets the valid file paths for the history item with the given identifier */
void set_valid_file_paths(const wcstring_list_t &valid_file_paths, history_identifier_t ident);