diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2013-04-14 16:03:46 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2013-04-14 16:03:46 +0100 |
commit | d9b8809908be8d25b4a301529725e1df65bb610b (patch) | |
tree | 4414b598f7eaabaf1987efe4ff9fed0e1cc7ae13 /amiga/font_scan.h | |
parent | 52e811a84298519ef328f50f68d5fc9c216f8c83 (diff) | |
download | netsurf-d9b8809908be8d25b4a301529725e1df65bb610b.tar.gz netsurf-d9b8809908be8d25b4a301529725e1df65bb610b.tar.bz2 |
Fix memory leak and make a point of ignoring UTF-16 surrogates
Diffstat (limited to 'amiga/font_scan.h')
-rwxr-xr-x | amiga/font_scan.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/amiga/font_scan.h b/amiga/font_scan.h index 24649854c..840f200e1 100755 --- a/amiga/font_scan.h +++ b/amiga/font_scan.h @@ -25,6 +25,6 @@ void ami_font_scan_init(const char *filename, bool force_scan, bool save, lwc_string **glypharray); void ami_font_scan_fini(lwc_string **glypharray); void ami_font_scan_save(const char *filename, lwc_string **glypharray); -const char *ami_font_scan_lookup(uint16 code, lwc_string **glypharray); +const char *ami_font_scan_lookup(uint16 *code, lwc_string **glypharray); #endif |