diff options
author | chai <chaifix@163.com> | 2018-05-28 23:47:52 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-05-28 23:47:52 +0800 |
commit | 2add73bb54ce9376ffcd44ffd929049d3c430628 (patch) | |
tree | 23ddd1003eea86725dda260ba45479dcf7c577f5 /src/lua/graphics/luaopen_JSL.cpp | |
parent | 733cffe5d3cf6c421940b38d41456c89029a975d (diff) |
更新音频模块
Diffstat (limited to 'src/lua/graphics/luaopen_JSL.cpp')
-rw-r--r-- | src/lua/graphics/luaopen_JSL.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/graphics/luaopen_JSL.cpp b/src/lua/graphics/luaopen_JSL.cpp index 93ca5d3..236d8a6 100644 --- a/src/lua/graphics/luaopen_JSL.cpp +++ b/src/lua/graphics/luaopen_JSL.cpp @@ -33,7 +33,7 @@ namespace lua static VARIABLE_TYPE strtotype(const char* str) { std::string s = std::string(str); - if (s == "number") return NUMBER; + if (s == "number") return NUMBER; else if (s == "Image") return IMAGE; else if (s == "Canvas") return CANVAS; else if (s == "vec2") return VEC2; |