Commit 7e264fca authored by Vinicius Jarina's avatar Vinicius Jarina
Browse files

Fixed WP7 Build (Enum.Parse)

parent c37f2419
...@@ -959,7 +959,7 @@ namespace NLua ...@@ -959,7 +959,7 @@ namespace NLua
string sflags = LuaLib.LuaToString (luaState, 2); string sflags = LuaLib.LuaToString (luaState, 2);
string err = null; string err = null;
try { try {
res = Enum.Parse (t, sflags); res = Enum.Parse (t, sflags, true);
} catch (ArgumentException e) { } catch (ArgumentException e) {
err = e.Message; err = e.Message;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment