fix table index in sequenceToString method

This commit is contained in:
Qingping Hou
2012-06-04 10:38:52 +08:00
parent b40a748a78
commit e4160a9909

View File

@@ -315,8 +315,8 @@ function Input:sequenceToString(sequence)
end
end
if #modifiers then
keystring[0] = table.concat(modifiers, "-")
keystring[1] = "-"
keystring[1] = table.concat(modifiers, "-")
keystring[2] = "-"
end
return table.concat(keystring)
end