mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 20:31:19 -03:00
Comment updates, minor code cleanups and other janitorial jobs
darcs-hash:20071002100937-75c98-d4040e70a256e36a6334cca0a05d60500680132b.gz
This commit is contained in:
6
common.c
6
common.c
@@ -263,9 +263,9 @@ wchar_t *str2wcs_internal( const char *in, wchar_t *out )
|
||||
{
|
||||
res = mbrtowc( &out[out_pos], &in[in_pos], len-in_pos, &state );
|
||||
|
||||
if( ( out[out_pos] >= ENCODE_DIRECT_BASE) &&
|
||||
( out[out_pos] < ENCODE_DIRECT_BASE+256) ||
|
||||
out[out_pos] == INTERNAL_SEPARATOR )
|
||||
if( ( ( out[out_pos] >= ENCODE_DIRECT_BASE) &&
|
||||
( out[out_pos] < ENCODE_DIRECT_BASE+256)) ||
|
||||
( out[out_pos] == INTERNAL_SEPARATOR ) )
|
||||
{
|
||||
out[out_pos] = ENCODE_DIRECT_BASE + (unsigned char)in[in_pos];
|
||||
in_pos++;
|
||||
|
||||
Reference in New Issue
Block a user