Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-07-29 03:43:32 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-07-29 03:49:34 +0300
commitcff71fee2118333eae49d0ad7766802d2bcb491e (patch)
tree25e5dc56b85d53d3535f332eb411c2cda5f9b89e /source/blender/makesrna
parentc6688aeddd4390c58043e3daf6832e12a0b56210 (diff)
Cleanup: style
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r--source/blender/makesrna/intern/rna_userdef.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c
index 1392009a30d..5bf8fe76c91 100644
--- a/source/blender/makesrna/intern/rna_userdef.c
+++ b/source/blender/makesrna/intern/rna_userdef.c
@@ -614,10 +614,9 @@ static EnumPropertyItem *rna_userdef_audio_device_itemf(bContext *UNUSED(C), Poi
#ifdef WITH_SYSTEM_AUDASPACE
int i;
- char** names = BKE_sound_get_device_names();
+ char **names = BKE_sound_get_device_names();
- for(i = 0; names[i]; i++)
- {
+ for (i = 0; names[i]; i++) {
EnumPropertyItem new_item = {i, names[i], 0, names[i], names[i]};
RNA_enum_item_add(&item, &totitem, &new_item);
}