mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-28 22:53:28 +00:00
netsurf: refacot again to reuse wr_create_doc_dom_from_file
This commit is contained in:
2
vendor/netsurf/wrapper/wrapper.c
vendored
2
vendor/netsurf/wrapper/wrapper.c
vendored
@@ -59,7 +59,7 @@ dom_document *wr_create_doc_dom_from_string(const char *html)
|
||||
* \param file The file path
|
||||
* \return pointer to DOM document, or NULL on error
|
||||
*/
|
||||
dom_document *wr_create_doc_dom_from_file(char *filename)
|
||||
dom_document *wr_create_doc_dom_from_file(const char *filename)
|
||||
{
|
||||
size_t buffer_size = 1024;
|
||||
dom_hubbub_parser *parser = NULL;
|
||||
|
||||
Reference in New Issue
Block a user