From a26989c903f3c9dca8754a20cbd3d970a9c493d2 Mon Sep 17 00:00:00 2001 From: Inuyasha Date: Mon, 18 Apr 2016 21:59:33 -0700 Subject: [PATCH] brevity is a virtue or something like that --- src/lua_mathlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lua_mathlib.c b/src/lua_mathlib.c index 00379b888..a55e3a0e4 100644 --- a/src/lua_mathlib.c +++ b/src/lua_mathlib.c @@ -118,7 +118,7 @@ static int lib_fixedsqrt(lua_State *L) { fixed_t i = luaL_checkfixed(L, 1); if (i < 0) - return luaL_error(L, "can't take the square root of a negative number"); + return luaL_error(L, "square root domain error"); lua_pushfixed(L, FixedSqrt(i)); return 1; }