Properly terminate property_info lists
BListView's property_info list lacked termination, resulting in garbage output at the and of 'hey getsuites'. Use { 0 } everywhere for sake of consistency. Thanks to waddlesplash for spotting the bug an providing the easy fix.
This commit is contained in:
parent
f0665db479
commit
346d149694
@ -44,7 +44,8 @@ static property_info sPropertyList[] = {
|
||||
NULL, 0,
|
||||
{ B_INT32_TYPE }
|
||||
},
|
||||
{}
|
||||
|
||||
{0}
|
||||
};
|
||||
|
||||
|
||||
|
@ -78,6 +78,8 @@ static property_info sProperties[] = {
|
||||
"Select or deselect all items in the selection. Boolean field \"data\" "
|
||||
"chooses selection or deselection.", 0, { B_BOOL_TYPE }
|
||||
},
|
||||
|
||||
{ 0 }
|
||||
};
|
||||
|
||||
|
||||
|
@ -195,7 +195,7 @@ static property_info sPropList[] = {
|
||||
"current specifier off the stack."
|
||||
},
|
||||
|
||||
{}
|
||||
{ 0 }
|
||||
};
|
||||
|
||||
|
||||
|
@ -115,7 +115,7 @@ static property_info sShelfPropertyList[] = {
|
||||
"... of Replicant {index | name | id} of ...", 0,
|
||||
},
|
||||
|
||||
{ 0, { 0 }, { 0 }, 0, 0 }
|
||||
{ 0 }
|
||||
};
|
||||
|
||||
static property_info sReplicantPropertyList[] = {
|
||||
@ -154,7 +154,7 @@ static property_info sReplicantPropertyList[] = {
|
||||
NULL, 0,
|
||||
},
|
||||
|
||||
{ 0, { 0 }, { 0 }, 0, 0 }
|
||||
{ 0 }
|
||||
};
|
||||
|
||||
|
||||
|
@ -43,7 +43,8 @@ static property_info sPropertyList[] = {
|
||||
NULL, 0,
|
||||
{ B_INT32_TYPE }
|
||||
},
|
||||
{}
|
||||
|
||||
{ 0 }
|
||||
};
|
||||
|
||||
|
||||
|
@ -42,7 +42,7 @@ static property_info sPropertyList[] = {
|
||||
{ B_INT32_TYPE }
|
||||
},
|
||||
|
||||
{}
|
||||
{ 0 }
|
||||
};
|
||||
|
||||
|
||||
|
@ -61,7 +61,8 @@ static property_info sPropertyList[] = {
|
||||
NULL, 0,
|
||||
{ B_STRING_TYPE }
|
||||
},
|
||||
{}
|
||||
|
||||
{ 0 }
|
||||
};
|
||||
|
||||
|
||||
|
@ -251,6 +251,7 @@ static property_info sPropertyList[] = {
|
||||
"BTextView.", 0,
|
||||
{ B_RAW_TYPE, 0 },
|
||||
},
|
||||
|
||||
{ 0 }
|
||||
};
|
||||
|
||||
|
@ -99,7 +99,7 @@ static property_info sViewPropInfo[] = {
|
||||
"Directs the scripting message to the specified view.", 0
|
||||
},
|
||||
|
||||
{ 0, { 0 }, { 0 }, 0, 0 }
|
||||
{ 0 }
|
||||
};
|
||||
|
||||
|
||||
|
@ -183,7 +183,7 @@ static property_info sWindowPropInfo[] = {
|
||||
{ B_DIRECT_SPECIFIER }, NULL, 0, { B_RECT_TYPE }
|
||||
},
|
||||
|
||||
{}
|
||||
{ 0 }
|
||||
};
|
||||
|
||||
static value_info sWindowValueInfo[] = {
|
||||
@ -207,7 +207,7 @@ static value_info sWindowValueInfo[] = {
|
||||
"Resize by the offsets in the BPoint data"
|
||||
},
|
||||
|
||||
{}
|
||||
{ 0 }
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user