1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-01-03 14:57:44 -05:00

ECMAScript: Fix previous careless SEE changes.

This commit is contained in:
Kalle Olavi Niemitalo 2006-08-20 17:29:03 +03:00 committed by Kalle Olavi Niemitalo
parent 1c0598d5ba
commit 45b194d1e7
2 changed files with 4 additions and 2 deletions

View File

@ -112,8 +112,8 @@ append_unicode_to_SEE_string(struct SEE_interpreter *interp,
* surrogate range? */
SEE_string_addch(str, u);
} else if (u <= 0x10FFFF) {
SEE_string_addch(0xD800 + ((u - 0x10000) >> 10));
SEE_string_addch(0xDC00 + (u & 0x3FF));
SEE_string_addch(str, 0xD800 + ((u - 0x10000) >> 10));
SEE_string_addch(str, 0xDC00 + (u & 0x3FF));
} else {
/* str->interpreter exists but is not documented, so don't
* use it; use a separate @interp parameter instead.

View File

@ -1,6 +1,8 @@
#ifndef EL__ECMASCRIPT_SEE_INPUT_H
#define EL__ECMASCRIPT_SEE_INPUT_H
#include "intl/charsets.h"
struct SEE_interpreter;
struct SEE_string;
struct SEE_value;