summaryrefslogtreecommitdiff
path: root/amiga/print.c
diff options
context:
space:
mode:
Diffstat (limited to 'amiga/print.c')
-rw-r--r--amiga/print.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/amiga/print.c b/amiga/print.c
index 6e040666f..9f18a76d8 100644
--- a/amiga/print.c
+++ b/amiga/print.c
@@ -73,7 +73,7 @@ struct ami_printer_info
struct PrinterData *PD;
struct PrinterExtendedData *PED;
struct MsgPort *msgport;
- struct content *c;
+ struct hlcache_handle *c;
struct print_settings *ps;
int page;
int pages;
@@ -206,7 +206,7 @@ BOOL ami_print_readunit(CONST_STRPTR filename, char name[],
return TRUE;
}
-void ami_print_ui(struct content *c)
+void ami_print_ui(struct hlcache_handle *c)
{
char filename[30];
int i;
@@ -328,7 +328,7 @@ BOOL ami_print_event(struct ami_print_window *pw)
/* return TRUE if window destroyed */
ULONG class,result;
uint16 code;
- struct content *c;
+ struct hlcache_handle *c;
int copies;
while((result = RA_HandleInput(pw->objects[OID_MAIN],&code)) != WMHI_LASTMSG)
@@ -368,7 +368,7 @@ BOOL ami_print_event(struct ami_print_window *pw)
return FALSE;
}
-void ami_print(struct content *c, int copies)
+void ami_print(struct hlcache_handle *c, int copies)
{
double height, print_height;
float scale = option_print_scale / 100.0;
@@ -392,7 +392,7 @@ void ami_print(struct content *c, int copies)
ami_print_info.PD = (struct PrinterData *)ami_print_info.PReq->io_Device;
ami_print_info.PED = &ami_print_info.PD->pd_SegmentData->ps_PED;
- ami_print_info.ps = print_make_settings(PRINT_DEFAULT, c->url, &nsfont);
+ ami_print_info.ps = print_make_settings(PRINT_DEFAULT, content_get_url(c), &nsfont);
ami_print_info.ps->page_width = ami_print_info.PED->ped_MaxXDots;
ami_print_info.ps->page_height = ami_print_info.PED->ped_MaxYDots;
ami_print_info.ps->scale = scale;