summaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
Diffstat (limited to 'windows')
-rw-r--r--windows/font.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/windows/font.c b/windows/font.c
index 7258eaf79..427bcb166 100644
--- a/windows/font.c
+++ b/windows/font.c
@@ -226,9 +226,8 @@ static bool nsfont_split(const plot_font_style_t *style,
(*char_offset)++;
}
}
- nsfont_position_in_string(style, string, *char_offset, x, char_offset,
- actual_x);
- return true;
+
+ return nsfont_width(style, string, *char_offset, actual_x);
}
const struct font_functions nsfont = {