diff options
author | Joseph Eagar <joeedh@gmail.com> | 2009-04-20 00:09:31 +0400 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2009-04-20 00:09:31 +0400 |
commit | 514654009570cba78e5215f524714adf5f91812a (patch) | |
tree | b212b35515ab92ae9f620c886cf6b589c4845361 /source/blender/makesrna/intern/rna_ui.c | |
parent | f1979f45ec3fdfdc1e0faa807ee8c5595dd6b82e (diff) |
changed some {} to {0}, these were causing errors on msvc. also got rid of some spurious prototypes I forgot to get rid off.
Diffstat (limited to 'source/blender/makesrna/intern/rna_ui.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_ui.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/makesrna/intern/rna_ui.c b/source/blender/makesrna/intern/rna_ui.c index c0b4fd28892..4ad5273dd5d 100644 --- a/source/blender/makesrna/intern/rna_ui.c +++ b/source/blender/makesrna/intern/rna_ui.c @@ -132,8 +132,8 @@ static void rna_Panel_unregister(const bContext *C, StructRNA *type) static StructRNA *rna_Panel_register(const bContext *C, ReportList *reports, void *data, StructValidateFunc validate, StructCallbackFunc call, StructFreeFunc free) { ARegionType *art; - PanelType *pt, dummypt = {}; - Panel dummypanel= {}; + PanelType *pt, dummypt = {0}; + Panel dummypanel= {0}; PointerRNA dummyptr; int have_function[2]; @@ -224,8 +224,8 @@ static void rna_Header_unregister(const bContext *C, StructRNA *type) static StructRNA *rna_Header_register(const bContext *C, ReportList *reports, void *data, StructValidateFunc validate, StructCallbackFunc call, StructFreeFunc free) { ARegionType *art; - HeaderType *ht, dummyht = {}; - Header dummyheader= {}; + HeaderType *ht, dummyht = {0}; + Header dummyheader= {0}; PointerRNA dummyhtr; int have_function[1]; |