Skip to content

Commit

Permalink
Merge pull request #16 from huahua132/master
Browse files Browse the repository at this point in the history
typo rename Unkown to Unknown and invaild to invalid
  • Loading branch information
cloudwu authored Jan 17, 2024
2 parents 26c1e68 + b6131f1 commit fd77cbf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion clibs/bgfx/luabgfx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,7 @@ lgetStats(lua_State *L) {
break;
}
default:
return luaL_error(L, "Unkown stat format %c", what[i]);
return luaL_error(L, "Unknown stat format %c", what[i]);
}}
return 1;
}
Expand Down
2 changes: 1 addition & 1 deletion clibs/image/image.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ lparse(lua_State *L) {
if(!lua_isnoneornil(L, 3)){
texfmt = bimg::getFormat(lua_tostring(L, 3));
if (texfmt == bimg::TextureFormat::Unknown){
return luaL_error(L, "Unkown texture format: %s", texfmt);
return luaL_error(L, "Unknown texture format: %s", texfmt);
}
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/ant.rmlui/core/datamodel/for.lua
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function m.create(datamodel, view, element, value)
view.var_index = "it_index"
view.var_t = var_t
else
error(("invaild data-for: `%s`"):format(value))
error(("invalid data-for: `%s`"):format(value))
end
end
end
Expand Down

0 comments on commit fd77cbf

Please sign in to comment.