revert wrong conflict merge for New InfoMessage Concept

pull/2/merge
Qingping Hou 12 years ago
parent e82121b72e
commit 6c0670740d

@ -138,15 +138,10 @@ else
end
-- @TODO dirty workaround, find a way to force native system poll
-- screen orientation and upside down mode 09.03 2012
Screen:setRotationMode(Screen.native_rotation_mode)
if file then
running = openFile(file)
else
running = false
end
if ARGV[optind] then
if lfs.attributes(ARGV[optind], "mode") == "directory" then
showFileManager(ARGV[optind])
elseif lfs.attributes(ARGV[optind], "mode") == "file" then
showReader(ARGV[optind], optarg["p"])
end
UIManager:run()
@ -158,7 +153,6 @@ else
end
-- @TODO dirty workaround, find a way to force native system poll
-- screen orientation and upside down mode 09.03 2012
Screen:setRotationMode(Screen.native_rotation_mode)

Loading…
Cancel
Save