summaryrefslogtreecommitdiff
path: root/src/commands.c
diff options
context:
space:
mode:
authorportix <portix@gmx.net>2011-12-28 19:18:38 +0100
committerportix <portix@gmx.net>2011-12-28 19:18:38 +0100
commitdb800e12576326d61e192df2bdd911c99442565f (patch)
treeebde7d95ce9a1c67201e3d2ac69b4debc179c9cd /src/commands.c
parentb2383d226fc4625d2415738ba026c4c565967bcd (diff)
downloaddwb-db800e12576326d61e192df2bdd911c99442565f.zip
Rename dwb.fc.commands -> dwb.fc.navigations
--HG-- branch : experimental
Diffstat (limited to 'src/commands.c')
-rw-r--r--src/commands.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands.c b/src/commands.c
index cbee951f..6c228550 100644
--- a/src/commands.c
+++ b/src/commands.c
@@ -569,14 +569,14 @@ DwbStatus
commands_entry_history_back(KeyMap *km, Arg *a) {
Navigation *n = NULL;
- if (!dwb.fc.commands)
+ if (!dwb.fc.navigations)
return STATUS_ERROR;
if (! dwb.state.last_com_history ) {
- dwb.state.last_com_history = dwb.fc.commands;
+ dwb.state.last_com_history = dwb.fc.navigations;
n = dwb.state.last_com_history->data;
char *text = gtk_editable_get_chars(GTK_EDITABLE(dwb.gui.entry), 0, -1);
- dwb_prepend_navigation_with_argument(&dwb.fc.commands, text, NULL);
+ dwb_prepend_navigation_with_argument(&dwb.fc.navigations, text, NULL);
FREE(text);
}
else if ( dwb.state.last_com_history && dwb.state.last_com_history->next ) {