mirror of
https://github.com/rkd77/elinks.git
synced 2025-05-18 00:48:57 -04:00
Merge with http://elinks.cz/elinks.git
This commit is contained in:
commit
9942a4987b
@ -71,6 +71,7 @@ index_from_char(unsigned char mark)
|
|||||||
void
|
void
|
||||||
goto_mark(unsigned char mark, struct view_state *vs)
|
goto_mark(unsigned char mark, struct view_state *vs)
|
||||||
{
|
{
|
||||||
|
int old_current_link;
|
||||||
#ifdef CONFIG_ECMASCRIPT
|
#ifdef CONFIG_ECMASCRIPT
|
||||||
struct ecmascript_interpreter *ecmascript;
|
struct ecmascript_interpreter *ecmascript;
|
||||||
int ecmascript_fragile;
|
int ecmascript_fragile;
|
||||||
@ -88,6 +89,7 @@ goto_mark(unsigned char mark, struct view_state *vs)
|
|||||||
if (!marks[i] || !compare_uri(marks[i]->uri, vs->uri, 0))
|
if (!marks[i] || !compare_uri(marks[i]->uri, vs->uri, 0))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
old_current_link = vs->current_link;
|
||||||
#ifdef CONFIG_ECMASCRIPT
|
#ifdef CONFIG_ECMASCRIPT
|
||||||
ecmascript = vs->ecmascript;
|
ecmascript = vs->ecmascript;
|
||||||
ecmascript_fragile = vs->ecmascript_fragile;
|
ecmascript_fragile = vs->ecmascript_fragile;
|
||||||
@ -103,6 +105,7 @@ goto_mark(unsigned char mark, struct view_state *vs)
|
|||||||
vs->ecmascript = ecmascript;
|
vs->ecmascript = ecmascript;
|
||||||
vs->ecmascript_fragile = ecmascript_fragile;
|
vs->ecmascript_fragile = ecmascript_fragile;
|
||||||
#endif
|
#endif
|
||||||
|
vs->old_current_link = old_current_link;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user