diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2015-05-26 18:40:39 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2015-05-26 18:40:39 +0100 |
| commit | 499bde10bdef43b8621ccd5b277d7a475b4f8fe7 (patch) | |
| tree | 66164962749466fcf3e7e8e0068b032a1b05bdcc /src/normal.cc | |
| parent | 3bdc30e381c94bfc1da2b044562be88c4b4cf525 (diff) | |
Small style tweaks
Diffstat (limited to 'src/normal.cc')
| -rw-r--r-- | src/normal.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.cc b/src/normal.cc index de54976f..6ca83ab2 100644 --- a/src/normal.cc +++ b/src/normal.cc @@ -875,7 +875,7 @@ void deindent(Context& context, NormalParams) template<ObjectFlags flags, SelectMode mode = SelectMode::Replace> void select_object(Context& context, NormalParams params) { - int level = params.count <= 0 ? 0 : params.count - 1; + const int level = params.count <= 0 ? 0 : params.count - 1; on_next_key_with_autoinfo(context, KeymapMode::None, [level](Key key, Context& context) { if (key.modifiers != Key::Modifiers::None) |
