summaryrefslogtreecommitdiff
path: root/lib-src/update-game-score.c
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2012-07-11 08:31:53 +0400
committerDmitry Antipov <dmantipov@yandex.ru>2012-07-11 08:31:53 +0400
commit984e7f300ef0bfec7be97c9bbaff5a6295a43aa2 (patch)
tree579e8e59109167073410ec78ea8c0ce5479c901f /lib-src/update-game-score.c
parent9d596af370080cba1e67978018d72a836dba008a (diff)
downloademacs-984e7f300ef0bfec7be97c9bbaff5a6295a43aa2.tar.gz
emacs-984e7f300ef0bfec7be97c9bbaff5a6295a43aa2.tar.bz2
emacs-984e7f300ef0bfec7be97c9bbaff5a6295a43aa2.zip
Avoid calls to strlen in font processing functions.
* font.c (font_parse_name, font_parse_xlfd, font_parse_fcname) (font_open_by_name): Changed to use length argument. Adjust users accordingly. * font.h (font_open_by_name, font_parse_xlfd): Adjust prototypes. * xfont.c (xfont_decode_coding_xlfd): Changed to return ptrdiff_t. (xfont_list_pattern, xfont_match): Use length returned by xfont_decode_coding_xlfd. * xfns.c (x_default_font_parameter): Omit useless xstrdup.
Diffstat (limited to 'lib-src/update-game-score.c')
0 files changed, 0 insertions, 0 deletions