Fix layout errors and crash with Atlas terrain previews.

Fix warning.

This was SVN commit r8103.
This commit is contained in:
Ykkrosh
2010-09-10 21:35:08 +00:00
parent c8eaee35cc
commit f3c9a59d29
2 changed files with 6 additions and 1 deletions
@@ -230,7 +230,7 @@ namespace
template<> struct ToJSVal<bool>
{
static jsval Convert(JSContext* cx, const bool& val)
static jsval Convert(JSContext* WXUNUSED(cx), const bool& val)
{
return val ? JSVAL_TRUE : JSVAL_FALSE;
}