awful: fix index init

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Damien Leone 2008-08-11 20:49:37 +02:00 committed by Julien Danjou
parent 2e4fdbb40d
commit 17900df7db
1 changed files with 2 additions and 1 deletions

View File

@ -772,8 +772,9 @@ local function prompt_history_load()
if #prompt.history.data.table >= prompt.history.data.max then
break
end
end
end
end
prompt.history.data.index = #prompt.history.data.table + 1
end
end