From 9f18e4f0eb81b7e4ab62f361e1d0c668a8b5eb35 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 9 Oct 2014 17:11:47 +0200 Subject: Cleanup: tabs Set your editor to tabs for all C/C++! --- source/blender/editors/space_file/fsmenu.c | 10 +++++----- source/blender/makesrna/intern/rna_image.c | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/source/blender/editors/space_file/fsmenu.c b/source/blender/editors/space_file/fsmenu.c index 6bc1d561f06..00d9680f0aa 100644 --- a/source/blender/editors/space_file/fsmenu.c +++ b/source/blender/editors/space_file/fsmenu.c @@ -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); diff --git a/source/blender/makesrna/intern/rna_image.c b/source/blender/makesrna/intern/rna_image.c index 2d8e41fd654..141de511a09 100644 --- a/source/blender/makesrna/intern/rna_image.c +++ b/source/blender/makesrna/intern/rna_image.c @@ -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) -- cgit v1.2.3