summaryrefslogtreecommitdiff
path: root/riscos/font.c
diff options
context:
space:
mode:
authorPhil Mellor <phil@monkeyson.info>2002-12-29 22:27:35 +0000
committerPhil Mellor <phil@monkeyson.info>2002-12-29 22:27:35 +0000
commit50fc20c2d4883b399fcee8c7a2905605304d9e40 (patch)
tree3f21c3c55f30504832a90da14785c42f8c0e4781 /riscos/font.c
parent0eec3d6d4ffbcfefd9593298530632c8ccf90760 (diff)
downloadnetsurf-50fc20c2d4883b399fcee8c7a2905605304d9e40.tar.gz
netsurf-50fc20c2d4883b399fcee8c7a2905605304d9e40.tar.bz2
[project @ 2002-12-29 22:27:35 by monkeyson]
Font anti-alias colours corrected. Begin displaying form elements - text, password, submit, reset svn path=/import/netsurf/; revision=71
Diffstat (limited to 'riscos/font.c')
-rw-r--r--riscos/font.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/riscos/font.c b/riscos/font.c
index 9fc4d0e9c..966e24688 100644
--- a/riscos/font.c
+++ b/riscos/font.c
@@ -1,5 +1,5 @@
/**
- * $Id: font.c,v 1.8 2002/12/27 17:28:19 bursa Exp $
+ * $Id: font.c,v 1.9 2002/12/29 22:27:35 monkeyson Exp $
*/
#include <assert.h>
@@ -68,7 +68,7 @@ void font_position_in_string(const char* text, struct font_data* font,
block.letter.x = block.letter.y = 0;
block.split_char = -1;
- xfont_scan_string(font, text,
+ xfont_scan_string(font->handle, text,
font_GIVEN_BLOCK | font_GIVEN_FONT | font_KERN | font_RETURN_CARET_POS | font_GIVEN_LENGTH,
ro_x_units(x) * 400,
0x7fffffff,