mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-30 02:03:14 +03:00
Liberally sprinkle #ifdef around
svn path=/trunk/netsurf/; revision=10417
This commit is contained in:
parent
c4de2cf6b3
commit
328fed8122
@ -162,8 +162,7 @@ bool print_draw_next_page(const struct printer *printer,
|
|||||||
hlcache_handle *print_init(hlcache_handle *content,
|
hlcache_handle *print_init(hlcache_handle *content,
|
||||||
struct print_settings *settings)
|
struct print_settings *settings)
|
||||||
{
|
{
|
||||||
// newcache
|
#ifdef FIX_CORE_PRINTING
|
||||||
#if 0
|
|
||||||
hlcache_handle* printed_content;
|
hlcache_handle* printed_content;
|
||||||
hlcache_handle_user *user_sentinel;
|
hlcache_handle_user *user_sentinel;
|
||||||
|
|
||||||
@ -244,6 +243,7 @@ bool print_apply_settings(hlcache_handle *content,
|
|||||||
bool print_cleanup(hlcache_handle *content, const struct printer *printer,
|
bool print_cleanup(hlcache_handle *content, const struct printer *printer,
|
||||||
struct print_settings *settings)
|
struct print_settings *settings)
|
||||||
{
|
{
|
||||||
|
#ifdef FIX_CORE_PRINTING
|
||||||
printer->print_end();
|
printer->print_end();
|
||||||
|
|
||||||
html_redraw_printing = false;
|
html_redraw_printing = false;
|
||||||
@ -257,6 +257,7 @@ bool print_cleanup(hlcache_handle *content, const struct printer *printer,
|
|||||||
|
|
||||||
free((void *)settings->output);
|
free((void *)settings->output);
|
||||||
free(settings);
|
free(settings);
|
||||||
|
#endif
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user