diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2010-04-30 17:28:07 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2010-04-30 17:28:07 +0000 |
commit | a3b14f6d9870f50e2f7e3bf756e9883676f0ddd6 (patch) | |
tree | 92d7d111d7a7fe854898edfd7da903268fae736e | |
parent | 5e887908b34b804a19b2b7370b0aa358d0e55973 (diff) | |
download | netsurf-a3b14f6d9870f50e2f7e3bf756e9883676f0ddd6.tar.gz netsurf-a3b14f6d9870f50e2f7e3bf756e9883676f0ddd6.tar.bz2 |
Fix assert when clicking empty text boxes
svn path=/trunk/netsurf/; revision=10531
-rw-r--r-- | amiga/font.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/amiga/font.c b/amiga/font.c index 67d65cdde..9b4ca1f29 100644 --- a/amiga/font.c +++ b/amiga/font.c @@ -161,7 +161,7 @@ bool nsfont_position_in_string(const plot_font_style_t *fstyle, utf16 += utf16charlen; } - if(co == (length)) + if(co >= (length)) { *actual_x = tx; co = length; |