diff options
Diffstat (limited to 'Kod/bilbana/yc4/display/text.m')
| -rw-r--r-- | Kod/bilbana/yc4/display/text.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kod/bilbana/yc4/display/text.m b/Kod/bilbana/yc4/display/text.m index e31ecc3..b6589d2 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 = text; +arg2 = strrep(text, '\n', '|'); arg3 = 0; pkg = get_package(strjoin({'Z', justification}, ''), [arg1 double(arg2) arg3]); |
