mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 21:16:50 +03:00
[project @ 2004-08-18 22:07:20 by jmb]
Don't read screen origin when printing svn path=/import/netsurf/; revision=1244
This commit is contained in:
parent
d1eb18f62e
commit
c7fab5b727
@ -674,10 +674,15 @@ void nsfont_paint(struct font_data *data, const char *text,
|
||||
assert(data != NULL);
|
||||
assert(text != NULL);
|
||||
|
||||
/* adjust by the origin */
|
||||
xos_read_vdu_variables((const os_vdu_var_list *)&var_input, (int *)&var_output);
|
||||
xpos += var_output[0];
|
||||
ypos += var_output[1];
|
||||
/* adjust by the origin
|
||||
* (not if printing as the result is undefined)
|
||||
*/
|
||||
if (!print_active) {
|
||||
xos_read_vdu_variables((const os_vdu_var_list *)&var_input,
|
||||
(int *)&var_output);
|
||||
xpos += var_output[0];
|
||||
ypos += var_output[1];
|
||||
}
|
||||
|
||||
|
||||
switch (data->ftype) {
|
||||
|
Loading…
Reference in New Issue
Block a user