aboutsummaryrefslogtreecommitdiffhomepage
path: root/reader.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-03-01 14:56:34 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-03-01 14:56:34 -0800
commitfd4df6f9bb918d62ae31881230f2d5f8b09e129e (patch)
treebf1e86c4dae93eaec67d6f64d6587c30cdb672f3 /reader.cpp
parent5d18d60e3b9f9f4d6e12f14e8c68b147429b9fb3 (diff)
Changed iterators from iter++ to ++iter
Large set of changes to history to ensure that histories from other sessions don't "bleed" into the current session
Diffstat (limited to 'reader.cpp')
-rw-r--r--reader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/reader.cpp b/reader.cpp
index b2881e96..289a7ad0 100644
--- a/reader.cpp
+++ b/reader.cpp
@@ -1318,7 +1318,7 @@ static void autosuggest_completed(autosuggestion_context_t *ctx, int result) {
if (! result && ! commands_to_load.empty() && ! ctx->has_tried_reloading)
{
ctx->has_tried_reloading = true;
- for (wcstring_list_t::const_iterator iter = commands_to_load.begin(); iter != commands_to_load.end(); iter++)
+ for (wcstring_list_t::const_iterator iter = commands_to_load.begin(); iter != commands_to_load.end(); ++iter)
{
complete_load(*iter, false);
}