0
1
mirror of https://github.com/radio95-rnt/rds95.git synced 2026-02-27 04:43:52 +01:00
This commit is contained in:
2025-12-22 16:12:05 +01:00
parent c73ab9a8ad
commit 1f9fe55540
3 changed files with 3 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ int lua_set_rds_##name(lua_State *localL) { \
}
#define STR_NONRETURN_HANDLER(name, function) \
int lua_set_rds_##name(lua_State *localL) { \
const char* str = luaL_checklstring(localL, 1); \
const char* str = luaL_checklstring(localL, 1, NULL); \
function(mod->enc, str); \
return 0; \
}