diff options
Diffstat (limited to 'Kod')
| -rw-r--r-- | Kod/bilbana/yc4/display/text.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Kod/bilbana/yc4/display/text.m b/Kod/bilbana/yc4/display/text.m index b6589d2..8157a65 100644 --- a/Kod/bilbana/yc4/display/text.m +++ b/Kod/bilbana/yc4/display/text.m @@ -1,6 +1,6 @@ -function [pkg] = text(x, y, justification, text) -arg1 = [mod(x, 256), x ./ 256, mod(y, 256), y ./ 256]; -arg2 = strrep(text, '\n', '|'); +function [pkg] = put_text(x, y, justification, text) +arg1 = [get_bytes(x), get_bytes(y)]; +arg2 = text; arg3 = 0; pkg = get_package(strjoin({'Z', justification}, ''), [arg1 double(arg2) arg3]); |
