mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-31 11:30:56 +08:00
newlib: newlocale: fix typo rendering ctype_ptr invalid
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
0283642f35
commit
ccea3b45b0
@ -147,7 +147,7 @@ _newlocale_r (struct _reent *p, int category_mask, const char *locale,
|
||||
tmp_locale.wctomb = base->wctomb;
|
||||
tmp_locale.mbtowc = base->mbtowc;
|
||||
tmp_locale.cjk_lang = base->cjk_lang;
|
||||
tmp_locale.ctype_ptr - base->ctype_ptr;
|
||||
tmp_locale.ctype_ptr = base->ctype_ptr;
|
||||
}
|
||||
#ifdef __HAVE_LOCALE_INFO__
|
||||
/* Mark the values as "has still to be copied". We do this in
|
||||
|
Loading…
x
Reference in New Issue
Block a user