summaryrefslogtreecommitdiff
path: root/dselect/bindings.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dselect/bindings.cc')
-rw-r--r--dselect/bindings.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/dselect/bindings.cc b/dselect/bindings.cc
index 1fbccc756..b544e2936 100644
--- a/dselect/bindings.cc
+++ b/dselect/bindings.cc
@@ -44,13 +44,13 @@ keybindings::bind(int key, const char *action)
{
if (key == -1)
return false;
-
+
const interpretation *interp = interps;
while (interp->action && strcmp(interp->action, action))
interp++;
if (!interp->action)
return false;
-
+
const description *desc = descriptions;
while (desc->action && strcmp(desc->action, action))
desc++;
@@ -58,7 +58,7 @@ keybindings::bind(int key, const char *action)
binding *b = bindings;
while (b && b->key != key)
b = b->next;
-
+
if (!b) {
b = new binding;
b->key = key;
@@ -169,7 +169,7 @@ const keybindings::description keybindings::descriptions[]= {
{ "revertsuggest", N_("Revert to suggested state for all packages") },
{ "revertdirect", N_("Revert to directly requested state for all packages") },
{ "revertinstalled", N_("Revert to currently installed state for all packages") },
-
+
// Actions which apply only to lists of methods.
{ "select-and-quit", N_("Select currently-highlighted access method") },
{ "abort", N_("Quit without changing selected access method") },