diff options
author | Jacques Lucke <mail@jlucke.com> | 2018-10-17 13:43:41 +0300 |
---|---|---|
committer | Jacques Lucke <mail@jlucke.com> | 2018-10-17 13:43:41 +0300 |
commit | 21744217cea9bb8f767f47cb6c41446563e645ac (patch) | |
tree | 4cd38ca5ae9530eb99fcf91fa28530b42d0fce68 /source/blender/blenfont | |
parent | c6eb5651ba26db3fa26179f2124c58f8c94b5ca3 (diff) |
Cleanup: remove some #if 0 blocks
Reviewers: brecht, campbellbarton
Differential Revision: https://developer.blender.org/D3802
Diffstat (limited to 'source/blender/blenfont')
-rw-r--r-- | source/blender/blenfont/intern/blf_dir.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/source/blender/blenfont/intern/blf_dir.c b/source/blender/blenfont/intern/blf_dir.c index ff5c1151a82..f37ed3cb54f 100644 --- a/source/blender/blenfont/intern/blf_dir.c +++ b/source/blender/blenfont/intern/blf_dir.c @@ -154,32 +154,6 @@ char *blf_dir_search(const char *file) return s; } -#if 0 /* UNUSED */ -int blf_dir_split(const char *str, char *file, int *size) -{ - int i, len; - char *s; - - /* Window, Linux or Mac, this is always / */ - s = strrchr(str, '/'); - if (s) { - len = s - str; - for (i = 0; i < len; i++) - file[i] = str[i]; - - file[i] = '.'; - file[i + 1] = 't'; - file[i + 2] = 't'; - file[i + 3] = 'f'; - file[i + 4] = '\0'; - s++; - *size = atoi(s); - return 1; - } - return 0; -} -#endif - /* Some font have additional file with metrics information, * in general, the extension of the file is: .afm or .pfm */ |