Skip to content

Commit

Permalink
FIX: the info struct member is now called sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed Jan 28, 2023
1 parent 4ef1980 commit eae5e64
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/core/u-iconv.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
** REBOL [R3] Language Interpreter and Run-time Environment
**
** Copyright 2012 REBOL Technologies
** Copyright 2012-2022 Rebol Open Source Developers
** Copyright 2012-2023 Rebol Open Source Developers
** REBOL is a trademark of REBOL Technologies
**
** Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -719,8 +719,7 @@ static REBYTE* get_codepage_name(REBVAL *cp)
if(SERIES_WIDE(dest) == 2) {
// in case source was already UTF-16
// change series width to 1 (for binary result)
dest->info &= 0xFFFFFF00;
dest->info |= 0x00000001;
dest->sizes &= 0xFFFFFF01; // keeps bias and reserved unused bits unchanged
dest->tail *= 2;
}
if (
Expand Down

0 comments on commit eae5e64

Please sign in to comment.