From 0c2e6c4102fa57763e50e3e14443d5098b2d6689 Mon Sep 17 00:00:00 2001 From: HW Date: Fri, 9 Dec 2011 00:22:09 +0100 Subject: [PATCH] fixed bug in key naming --- filechooser.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filechooser.lua b/filechooser.lua index ad2567bf8..eacfa6f9b 100644 --- a/filechooser.lua +++ b/filechooser.lua @@ -136,7 +136,7 @@ function FileChooser:choose(ypos, height) self.current = 1 markerdirty = true end - elseif ev.code == KEY_ENTER or ev.code == KEY_FWPRESS then + elseif ev.code == KEY_ENTER or ev.code == KEY_FW_PRESS then local newdir = self.dirs[perpage*(self.page-1)+self.current] if newdir == ".." then local path = string.gsub(self.path, "(.*)/[^/]+/?$", "%1")