diff options
author | Andrea Weikert <elubie@gmx.net> | 2010-11-14 13:53:49 +0300 |
---|---|---|
committer | Andrea Weikert <elubie@gmx.net> | 2010-11-14 13:53:49 +0300 |
commit | 63f131803caaf080e947f6087997a6fa43aefa6b (patch) | |
tree | 8d5f41f671cd7461ebbf337559dd24686e8ea673 /source/blender/editors/space_file/filesel.c | |
parent | 2e84732228c749f4d7932ab3a4fe60c95f7d19ac (diff) |
== filebrowser ==
* removed now unused function file_string_width_shortened.
Diffstat (limited to 'source/blender/editors/space_file/filesel.c')
-rw-r--r-- | source/blender/editors/space_file/filesel.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/source/blender/editors/space_file/filesel.c b/source/blender/editors/space_file/filesel.c index af823654b9d..d55fcd7d8ba 100644 --- a/source/blender/editors/space_file/filesel.c +++ b/source/blender/editors/space_file/filesel.c @@ -346,16 +346,6 @@ float file_string_width(const char* str) return BLF_width(style->widget.uifont_id, str); } -/* gives the exact width of the string after being shortened to - the maximum width. Assumes shortening from the end of the string. */ -float file_string_width_shortened(const char* str, float width) -{ - char fname[FILE_MAXFILE]; - - BLI_strncpy(fname, str, FILE_MAXFILE); - return file_shorten_string(fname, width, 0 ); -} - float file_font_pointsize() { float s; |