Diff

util-src/encodings.c @ 4302:bbb0bf0a09f5

util.encodings: Fix small typo introduced in 7f789266b741
author Matthew Wild <mwild1@gmail.com>
date Sat, 04 Jun 2011 19:18:11 +0100
parent 4273:7f789266b741
child 6411:6c8f6364bc48
child 6591:fe3018a2f187
line wrap: on
line diff
--- a/util-src/encodings.c	Sat Jun 04 00:29:55 2011 +0100
+++ b/util-src/encodings.c	Sat Jun 04 19:18:11 2011 +0100
@@ -146,7 +146,7 @@
 	}
 	u_strFromUTF8(unprepped, 1024, &unprepped_len, input, input_len, &err);
 	if (U_FAILURE(err)) {
-		luah_pushnil(L);
+		lua_pushnil(L);
 		return 1;
 	}
 	prepped_len = usprep_prepare(profile, unprepped, unprepped_len, prepped, 1024, 0, NULL, &err);