diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-03-09 20:36:23 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-03-09 20:36:23 +0300 |
commit | 1708ac07231cd222f269d3c0ddb9e22aba7aeec4 (patch) | |
tree | f4e8736ae34fac2e614f127d4ceae24a9454410a /source/blender/editors/space_text | |
parent | 26272d4c58de0b80056092de190bb35b44532f2e (diff) |
rename some functions to use easier to understand names.
'BLI_makestringcode' --> 'BLI_path_rel'
'BLI_convertstringcwd' --> 'BLI_path_cwd'
'BLI_convertstringframe' --> 'BLI_path_frame'
'BLI_convertstringframe_range' --> 'BLI_path_frame_range'
'BLI_make_cwdpath' --> 'BLI_path_cwd'
Diffstat (limited to 'source/blender/editors/space_text')
-rw-r--r-- | source/blender/editors/space_text/text_ops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_text/text_ops.c b/source/blender/editors/space_text/text_ops.c index be1151219a2..daf0a070619 100644 --- a/source/blender/editors/space_text/text_ops.c +++ b/source/blender/editors/space_text/text_ops.c @@ -420,7 +420,7 @@ static void txt_write_file(Text *text, ReportList *reports) char file[FILE_MAXDIR+FILE_MAXFILE]; BLI_strncpy(file, text->name, FILE_MAXDIR+FILE_MAXFILE); - BLI_convertstringcode(file, G.sce); + BLI_path_abs(file, G.sce); fp= fopen(file, "w"); if(fp==NULL) { @@ -2542,7 +2542,7 @@ int text_file_modified(Text *text) return 0; BLI_strncpy(file, text->name, FILE_MAXDIR+FILE_MAXFILE); - BLI_convertstringcode(file, G.sce); + BLI_path_abs(file, G.sce); if(!BLI_exists(file)) return 2; @@ -2570,7 +2570,7 @@ static void text_ignore_modified(Text *text) if(!text || !text->name) return; BLI_strncpy(file, text->name, FILE_MAXDIR+FILE_MAXFILE); - BLI_convertstringcode(file, G.sce); + BLI_path_abs(file, G.sce); if(!BLI_exists(file)) return; |