diff options
author | Ton Roosendaal <ton@blender.org> | 2003-11-22 21:38:53 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2003-11-22 21:38:53 +0300 |
commit | 5af2e7ac25a9e05451e53062dd4bdd82ede794fc (patch) | |
tree | d5ddc120788f97b6936c2a7bd85cba5661daf5f9 /source/blender/src/resources.c | |
parent | 2b59d04f9607f74700b9869ed4c6aa886600ac22 (diff) |
- this routine is going to be my waterloo!
forgot to check null pointer...
Diffstat (limited to 'source/blender/src/resources.c')
-rw-r--r-- | source/blender/src/resources.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/src/resources.c b/source/blender/src/resources.c index 4d833d02f9b..151962b47e7 100644 --- a/source/blender/src/resources.c +++ b/source/blender/src/resources.c @@ -283,6 +283,7 @@ char *BIF_ThemeGetColorPtr(bTheme *btheme, int spacetype, int colorid) static char error[4]={240, 0, 240, 255}; static char alert[4]={240, 60, 60, 255}; static char headerdesel[4]={0,0,0,255}; + static char custom[4]={0,0,0,255}; char *cp= error; @@ -328,6 +329,8 @@ char *BIF_ThemeGetColorPtr(bTheme *btheme, int spacetype, int colorid) case TH_REDALERT: cp= alert; break; + case TH_CUSTOM: + cp= custom; break; } } else { |