diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-02-10 21:52:36 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-02-10 21:52:36 +0000 |
commit | 315f5a8ca13f680bd1111b5108e8c3c23131f1f7 (patch) | |
tree | 6b19c99895d21e3d53a68338ab99c4b94256f8b7 /atari/plot/font_vdi.c | |
parent | ceb1668a8aede4d517a843e89361429a48a636b6 (diff) | |
parent | f6703dcbaab1dd9d434a039709fa4ddeb8b20988 (diff) | |
download | netsurf-315f5a8ca13f680bd1111b5108e8c3c23131f1f7.tar.gz netsurf-315f5a8ca13f680bd1111b5108e8c3c23131f1f7.tar.bz2 |
Merge branch 'master' of git://git.netsurf-browser.org/netsurf
Conflicts:
gtk/font_pango.c
Conflict resolved.
Diffstat (limited to 'atari/plot/font_vdi.c')
-rwxr-xr-x | atari/plot/font_vdi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/atari/plot/font_vdi.c b/atari/plot/font_vdi.c index 4ebab24fb..340759f02 100755 --- a/atari/plot/font_vdi.c +++ b/atari/plot/font_vdi.c @@ -164,7 +164,7 @@ static int str_split( FONT_PLOTTER self, const plot_font_style_t * fstyle, const last_space_idx = nxtchr;
} *actual_x += cellw; - if (*actual_x > x) { + if (*actual_x > x && last_space_idx != 0) { *actual_x = last_space_x; *char_offset = last_space_idx; //printf("at: %s\n", lstr); |