mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Merge with /home/kalle/src/MIRROR/elinks/.git
This commit is contained in:
commit
37bea9cfdb
@ -10,7 +10,7 @@
|
|||||||
* and it needs to be possible to adapt the string library to that. --jonas */
|
* and it needs to be possible to adapt the string library to that. --jonas */
|
||||||
|
|
||||||
struct dom_string {
|
struct dom_string {
|
||||||
size_t length;
|
unsigned int length;
|
||||||
unsigned char *string;
|
unsigned char *string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -149,7 +149,7 @@ get_event_name(int id)
|
|||||||
return events[id].name;
|
return events[id].name;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void
|
static void
|
||||||
trigger_event_va(int id, va_list ap_init)
|
trigger_event_va(int id, va_list ap_init)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -160,7 +160,7 @@ script_hook_pre_format_html(va_list ap, void *data)
|
|||||||
|
|
||||||
args[0] = rb_str_new2(url);
|
args[0] = rb_str_new2(url);
|
||||||
/* FIXME: Use html_len */
|
/* FIXME: Use html_len */
|
||||||
args[1] = rb_str_new(fragment->data, fragment->length);
|
args[1] = rb_str_new2(fragment->data);
|
||||||
|
|
||||||
result = erb_protected_method_call("pre_format_html_hook", 2, args, &error);
|
result = erb_protected_method_call("pre_format_html_hook", 2, args, &error);
|
||||||
if (error) {
|
if (error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user