CSM: Document forgotten functions
[oweals/minetest.git] / builtin / mainmenu / common.lua
index 294e1a621ca6e9cf1fe375e05b87480275889456..fa7ae583b5826016ef670680356b965a471e545e 100644 (file)
@@ -250,7 +250,7 @@ end
 
 --------------------------------------------------------------------------------
 function text2textlist(xpos, ypos, width, height, tl_name, textlen, text, transparency)
-       local textlines = core.splittext(text, textlen)
+       local textlines = core.wrap_text(text, textlen)
        local retval = "textlist[" .. xpos .. "," .. ypos .. ";" .. width ..
                        "," .. height .. ";" .. tl_name .. ";"