diff options
author | Clint Adams <clint@users.sourceforge.net> | 2005-01-16 16:24:28 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2005-01-16 16:24:28 +0000 |
commit | 7c2424d02224be21bed940af7249060736e8cc83 (patch) | |
tree | 40cf732d0ddeb85063d03123f1d566a30d986516 | |
parent | 88a37cc187c0f6c5b7130a943c7ddd87474a0f69 (diff) | |
download | zsh-7c2424d02224be21bed940af7249060736e8cc83.tar.gz zsh-7c2424d02224be21bed940af7249060736e8cc83.tar.xz zsh-7c2424d02224be21bed940af7249060736e8cc83.zip |
* 20718: Src/Zle/zle_utils.c: minor cleanup for proto-Unicode stuff.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Src/Zle/zle_utils.c | 7 |
2 files changed, 6 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog index 4c3e287dd..3077e8f17 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-01-16 Clint Adams <clint@zsh.org> + + * 20718: Src/Zle/zle_utils.c: minor cleanup for proto-Unicode + stuff. + 2005-01-14 Peter Stephenson <pws@csr.com> * unposted: update version to 4.2.3-dev-1. diff --git a/Src/Zle/zle_utils.c b/Src/Zle/zle_utils.c index d1b10c4b0..611e7414f 100644 --- a/Src/Zle/zle_utils.c +++ b/Src/Zle/zle_utils.c @@ -67,7 +67,7 @@ void sizeline(int sz) { while (sz > linesz) - zleline = (unsigned char *)realloc(zleline, (linesz *= 4) + 2); + zleline = (ZLE_STRING_T)realloc(zleline, (linesz *= 4) + 2); } /* @@ -85,11 +85,6 @@ zleaddtoline(int chr) zleline[zlecs++] = chr; } -/* - return zleline; - return zleline; - */ - /**/ mod_export unsigned char * zlegetline(int *ll, int *cs) |