diff options
author | reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-09 17:45:36 +0000 |
---|---|---|
committer | reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-09 17:45:36 +0000 |
commit | 4728357b58f053c28abf9bfb5e938f4dc7556790 (patch) | |
tree | 0e80eb644c6dbd42b3a1f937821f32a39e6b939d /libvo/font_load_ft.c | |
parent | 2efd5b393de605e5e94123ce421e7c52e84a9faa (diff) | |
download | mpv-4728357b58f053c28abf9bfb5e938f4dc7556790.tar.bz2 mpv-4728357b58f053c28abf9bfb5e938f4dc7556790.tar.xz |
Marks several string parameters as const when they are not modified in the function, Patch by Stefan Huehner, stefan AT huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18985 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/font_load_ft.c')
-rw-r--r-- | libvo/font_load_ft.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/font_load_ft.c b/libvo/font_load_ft.c index c555b162c6..571919b473 100644 --- a/libvo/font_load_ft.c +++ b/libvo/font_load_ft.c @@ -905,7 +905,7 @@ void free_font_desc(font_desc_t *desc) free(desc); } -static int load_sub_face(char *name, FT_Face *face) +static int load_sub_face(const char *name, FT_Face *face) { int err = -1; @@ -952,7 +952,7 @@ int kerning(font_desc_t *desc, int prevc, int c) return f266ToInt(kern.x); } -font_desc_t* read_font_desc_ft(char *fname, int movie_width, int movie_height) +font_desc_t* read_font_desc_ft(const char *fname, int movie_width, int movie_height) { font_desc_t *desc; |