style cleanup
[blender-staging.git] / source / blender / editors / interface / resources.c
index 2e8117ea6402a89ec6c9f7bd2e057f415118a61d..1d7a423a15a86959b95c704bfa14a677f73531a9 100644 (file)
@@ -91,7 +91,7 @@ const unsigned char *UI_ThemeGetColorPtr(bTheme *btheme, int spacetype, int colo
        
        if (btheme) {
        
-               // first check for ui buttons theme
+               /* first check for ui buttons theme */
                if (colorid < TH_THEMEUI) {
                
                        switch (colorid) {
@@ -936,7 +936,7 @@ void UI_SetTheme(int spacetype, int regionid)
                theme_regionid = RGN_TYPE_WINDOW;
        }
        else {
-               // later on, a local theme can be found too
+               /* later on, a local theme can be found too */
                theme_active = U.themes.first;
                theme_spacetype = spacetype;
                theme_regionid = regionid;
@@ -1353,7 +1353,7 @@ void init_userdef_do_versions(void)
                for (btheme = U.themes.first; btheme; btheme = btheme->next) {
                        /* check for (alpha == 0) is safe, then color was never set */
                        if (btheme->ttime.back[3] == 0) {
-                               // copied from ui_theme_init_default
+                               /* copied from ui_theme_init_default */
                                btheme->ttime = btheme->tv3d;
                                rgba_char_args_set_fl(btheme->ttime.back,   0.45, 0.45, 0.45, 1.0);
                                rgba_char_args_set_fl(btheme->ttime.grid,   0.36, 0.36, 0.36, 1.0);