# HG changeset patch # User jwe # Date 945295182 0 # Node ID 6735e4c759a2bc8431195bcb897689bd42335654 # Parent ebf69eb3d07d57d2924e041d9c766e20c48f1887 [project @ 1999-12-15 21:57:48 by jwe] diff --git a/scripts/ChangeLog b/scripts/ChangeLog --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,5 +1,8 @@ 1999-12-15 John W. Eaton + * control/dezero.m: Use toascii to convert string to ASCII value + instead of multiplying it by 1. + * control/zp2sys.m: Don't save and restore implicit_str_to_num_ok. * control/zpout.m: Ditto. * control/tfout.m: Ditto. diff --git a/scripts/control/dezero.m b/scripts/control/dezero.m --- a/scripts/control/dezero.m +++ b/scripts/control/dezero.m @@ -46,7 +46,7 @@ s = reshape (s, 1, len); ## need to remove zeros first, then call deblank - s = 1*s; + s = toascii (s); t = deblank(setstr(s(find(s != 0) ))); endif