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>2015-07-13 15:00:07 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-07-13 15:00:07 +0300
commit2d32b92d77bf0c0f5fc3827277d26a26bbbb2580 (patch)
tree3da1b5f3e18ae16ae9162eb300ff4416dad1931c /source/blender/imbuf/intern/readimage.c
parente142ae77cadf04103fbc643f21cf60891862f6a8 (diff)
Cleanup: IMB prefix for ImBuf defines
Diffstat (limited to 'source/blender/imbuf/intern/readimage.c')
-rw-r--r--source/blender/imbuf/intern/readimage.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/imbuf/intern/readimage.c b/source/blender/imbuf/intern/readimage.c
index 38d54e64035..1c83b33e296 100644
--- a/source/blender/imbuf/intern/readimage.c
+++ b/source/blender/imbuf/intern/readimage.c
@@ -192,22 +192,22 @@ static void imb_cache_filename(char *filename, const char *name, int flags)
{
/* read .tx instead if it exists and is not older */
if (flags & IB_tilecache) {
- BLI_strncpy(filename, name, IB_FILENAME_SIZE);
- if (!BLI_replace_extension(filename, IB_FILENAME_SIZE, ".tx"))
+ BLI_strncpy(filename, name, IMB_FILENAME_SIZE);
+ if (!BLI_replace_extension(filename, IMB_FILENAME_SIZE, ".tx"))
return;
if (BLI_file_older(name, filename))
return;
}
- BLI_strncpy(filename, name, IB_FILENAME_SIZE);
+ BLI_strncpy(filename, name, IMB_FILENAME_SIZE);
}
ImBuf *IMB_loadiffname(const char *filepath, int flags, char colorspace[IM_MAX_SPACE])
{
ImBuf *ibuf;
int file, a;
- char filepath_tx[IB_FILENAME_SIZE];
+ char filepath_tx[IMB_FILENAME_SIZE];
BLI_assert(!BLI_path_is_rel(filepath));
@@ -236,7 +236,7 @@ ImBuf *IMB_testiffname(const char *filepath, int flags)
{
ImBuf *ibuf;
int file;
- char filepath_tx[IB_FILENAME_SIZE];
+ char filepath_tx[IMB_FILENAME_SIZE];
char colorspace[IM_MAX_SPACE] = "\0";
BLI_assert(!BLI_path_is_rel(filepath));