Helloworld.lua: fix file_put_contents depending on a wrong return value of io.write...
commit0173ff0db70ddaab24dba9d9d6bd9b9dd2227901
authormcuelenaere <mcuelenaere@a1c6a512-1295-4272-9138-f99709370657>
Wed, 8 Jul 2009 21:05:56 +0000 (8 21:05 +0000)
committermcuelenaere <mcuelenaere@a1c6a512-1295-4272-9138-f99709370657>
Wed, 8 Jul 2009 21:05:56 +0000 (8 21:05 +0000)
tree75012f1449ea10afbe2a9bbd87a016767eb5c8f2
parent8718a6a46ed7de26dc222515dc9b880d587ee4a0
Helloworld.lua: fix file_put_contents depending on a wrong return value of io.write + use a cleaner version of if(file == nil) (thanks to Christophe Gragnic)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21731 a1c6a512-1295-4272-9138-f99709370657
apps/plugins/helloworld.lua