Compile fix
[blender.git] / source / blender / editors / interface / resources.c
index 02d8ae43d4fc845fc5bf81d5a69bd96fa702aa72..89b994056771d71d44e045baa80b4f42ab11d58c 100644 (file)
@@ -353,8 +353,6 @@ char *UI_ThemeGetColorPtr(bTheme *btheme, int spacetype, int colorid)
                                cp= ts->console_info; break;
                        case TH_CONSOLE_ERROR:
                                cp= ts->console_error; break;
                                cp= ts->console_info; break;
                        case TH_CONSOLE_ERROR:
                                cp= ts->console_error; break;
-                       case TH_BACK:
-                               cp= ts->console_back; break;
 
                        case TH_HANDLE_VERTEX:
                                cp= ts->handle_vertex;
 
                        case TH_HANDLE_VERTEX:
                                cp= ts->handle_vertex;
@@ -619,11 +617,11 @@ void ui_theme_init_userdef(void)
        
        /* space console */
        btheme->tconsole= btheme->tv3d;
        
        /* space console */
        btheme->tconsole= btheme->tv3d;
+       SETCOL(btheme->tconsole.back, 0, 0, 0, 255);
        SETCOL(btheme->tconsole.console_output, 96, 128, 255, 255);
        SETCOL(btheme->tconsole.console_input, 255, 255, 255, 255);
        SETCOL(btheme->tconsole.console_info, 0, 170, 0, 255);
        SETCOL(btheme->tconsole.console_error, 220, 96, 96, 255);
        SETCOL(btheme->tconsole.console_output, 96, 128, 255, 255);
        SETCOL(btheme->tconsole.console_input, 255, 255, 255, 255);
        SETCOL(btheme->tconsole.console_info, 0, 170, 0, 255);
        SETCOL(btheme->tconsole.console_error, 220, 96, 96, 255);
-       SETCOL(btheme->tconsole.console_back, 0, 0, 0, 255);
        
 
        /* space sound */
        
 
        /* space sound */