util.encodings: Fix small typo introduced in 7f789266b741
authorMatthew Wild <mwild1@gmail.com>
Sat, 4 Jun 2011 18:18:11 +0000 (19:18 +0100)
committerMatthew Wild <mwild1@gmail.com>
Sat, 4 Jun 2011 18:18:11 +0000 (19:18 +0100)
util-src/encodings.c

index 9b6c6cf4c2cf8d22a9937af55977954e8e706297..b9b6160a03809c2eb7b1c04a2622f0a90814592b 100644 (file)
@@ -146,7 +146,7 @@ static int icu_stringprep_prep(lua_State *L, const UStringPrepProfile *profile)
        }
        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);