diff options
author | Christian Pointner <equinox@spreadspace.org> | 2010-11-24 19:20:07 +0000 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2010-11-24 19:20:07 +0000 |
commit | 4dcc49be8ec6bc080c91a0fcce1879736750ae73 (patch) | |
tree | 8fefafc2607a1fcc4d473331228afe65edc25bf3 /examples | |
parent | updated TODO (diff) |
tab vs space
git-svn-id: https://svn.spreadspace.org/gcsd/trunk@60 ac14a137-c7f1-4531-abe0-07747231d213
Diffstat (limited to 'examples')
-rw-r--r-- | examples/simple_dispatcher.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/simple_dispatcher.lua b/examples/simple_dispatcher.lua index 5a931e3..4c935fe 100644 --- a/examples/simple_dispatcher.lua +++ b/examples/simple_dispatcher.lua @@ -1,6 +1,6 @@ return { - ["%w+%s*"] = function(match) - local cmd = string.match("(%w+)%s*", match) - command_queue:enqueue_command(cmd) - end -}
\ No newline at end of file + ["%w+%s*\n"] = function(match) + local cmd = string.match("(%w+)%s*", match) + command_queue:enqueue_command(cmd) + end +} |