Cleanup: tabs
authorCampbell Barton <ideasman42@gmail.com>
Thu, 9 Oct 2014 15:11:47 +0000 (17:11 +0200)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 9 Oct 2014 15:12:50 +0000 (17:12 +0200)
Set your editor to tabs for all C/C++!

source/blender/editors/space_file/fsmenu.c
source/blender/makesrna/intern/rna_image.c

index 6bc1d561f068a44adf8092b6357e357de9651943..00d9680f0aa82b86a5f029fc81ce52f75c6b5357 100644 (file)
@@ -444,11 +444,11 @@ void fsmenu_read_system(struct FSMenu *fsmenu, int read_bookmarks)
                                if (pathString == NULL || !CFStringGetCString(pathString, line, sizeof(line), kCFStringEncodingASCII))
                                        continue;
 
-                /* Exclude "all my files" as it makes no sense in blender fileselector */
-                /* Exclude "airdrop" if wlan not active as it would show "" ) */
-                if (!strstr((char *)line, "myDocuments.cannedSearch") && (strcmp((char *)line, "")))   {
-                    fsmenu_insert_entry(fsmenu, FS_CATEGORY_SYSTEM_BOOKMARKS, line, NULL);
-                }
+                               /* Exclude "all my files" as it makes no sense in blender fileselector */
+                               /* Exclude "airdrop" if wlan not active as it would show "" ) */
+                               if (!strstr((char *)line, "myDocuments.cannedSearch") && (strcmp((char *)line, ""))) {
+                                       fsmenu_insert_entry(fsmenu, FS_CATEGORY_SYSTEM_BOOKMARKS, line, NULL);
+                               }
                                
                                CFRelease(pathString);
                                CFRelease(cfURL);
index 2d8e41fd654ef207d2943648df6c584555b7f0b8..141de511a0904c9dcd8fd2eb0be3d759245e7833 100644 (file)
@@ -402,7 +402,7 @@ static int rna_Image_is_float_get(PointerRNA *ptr)
 static void rna_Image_render_slots_begin(CollectionPropertyIterator *iter, PointerRNA *ptr)
 {
        Image *image = (Image *)ptr->id.data;
-       rna_iterator_array_begin(iter, (void*)image->render_slots, sizeof(RenderSlot), IMA_MAX_RENDER_SLOT, 0, NULL);
+       rna_iterator_array_begin(iter, (void *)image->render_slots, sizeof(RenderSlot), IMA_MAX_RENDER_SLOT, 0, NULL);
 }
 
 static PointerRNA rna_render_slots_active_get(PointerRNA *ptr)