Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-01-31 17:51:53 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-01-31 19:01:00 +0400
commit34a05325842eb6a0d87904399a41336b04f701d0 (patch)
tree9e3f27c6a249db0776c4a328306c734bfcfb5b59 /source/blender/editors/space_file/filelist.c
parenteeefbbcc78ff308c06b32b5887be0faca781c3c6 (diff)
Code cleanup: comments and warnings
Diffstat (limited to 'source/blender/editors/space_file/filelist.c')
-rw-r--r--source/blender/editors/space_file/filelist.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/source/blender/editors/space_file/filelist.c b/source/blender/editors/space_file/filelist.c
index 9e674b34d36..79b6a13b459 100644
--- a/source/blender/editors/space_file/filelist.c
+++ b/source/blender/editors/space_file/filelist.c
@@ -81,9 +81,6 @@
#include "filelist.h"
-/* max length of library group name within filesel */
-#define GROUP_MAX 32
-
struct FileList;
typedef struct FileImage {
@@ -344,7 +341,7 @@ static bool is_filtered_file(struct direntry *file, const char *UNUSED(dir), uns
static bool is_filtered_lib(struct direntry *file, const char *dir, unsigned int filter, short hide_dot)
{
bool is_filtered = false;
- char tdir[FILE_MAX], tgroup[GROUP_MAX];
+ char tdir[FILE_MAX], tgroup[BLO_GROUP_MAX];
if (BLO_is_a_library(dir, tdir, tgroup)) {
is_filtered = !is_hidden_file(file->relname, hide_dot);
}
@@ -1055,7 +1052,7 @@ void filelist_from_library(struct FileList *filelist)
struct ImBuf *ima;
int ok, i, nprevs, nnames, idcode;
char filename[FILE_MAX];
- char dir[FILE_MAX], group[GROUP_MAX];
+ char dir[FILE_MAX], group[BLO_GROUP_MAX];
/* name test */
ok = filelist_islibrary(filelist, dir, group);