diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-04-06 10:03:48 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-04-06 10:03:48 +0400 |
commit | a7507e945d1c314b9bf7f8298a8beea58e047d37 (patch) | |
tree | ae5ae0422e5eea00d1b2ae032ebcddaaf6058583 /source/blender/editors/space_file/file_panels.c | |
parent | 5c7bed92d4a124a92c596f2dbe212cc59335925f (diff) |
fix [#26803] Libs paths are case sensitive in windows
use case insensitive path comparison on windows: BLI_path_cmp
Diffstat (limited to 'source/blender/editors/space_file/file_panels.c')
-rw-r--r-- | source/blender/editors/space_file/file_panels.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_file/file_panels.c b/source/blender/editors/space_file/file_panels.c index 2963f09ff96..959b1ddf1b5 100644 --- a/source/blender/editors/space_file/file_panels.c +++ b/source/blender/editors/space_file/file_panels.c @@ -101,7 +101,7 @@ static void file_panel_category(const bContext *C, Panel *pa, FSMenuCategory cat /* set this list item as active if we have a match */ if(sfile->params) { - if(strcmp(sfile->params->dir, entry) == 0) { + if(BLI_path_cmp(sfile->params->dir, entry) == 0) { *nr= i; } } |