Style, no functional changes

Make termination consistant with that last commit hrev51521.
As wished and proof-read by waddlesplash. Hope all's well...
This commit is contained in:
Humdinger
2017-11-16 19:47:59 +01:00
parent 0e9000201f
commit 16af9b4c61
14 changed files with 23 additions and 27 deletions
+2 -1
View File
@@ -180,7 +180,8 @@ static property_info sPropertyInfo[] = {
B_TRANSLATE("Seek by the specified amounts of microseconds."), 0, B_TRANSLATE("Seek by the specified amounts of microseconds."), 0,
{ B_INT64_TYPE } { B_INT64_TYPE }
}, },
{ 0, { 0 }, { 0 }, 0, 0 }
{ 0 }
}; };
+1 -1
View File
@@ -56,7 +56,7 @@ static property_info sProperties[] = {
"get or set the port device", "get or set the port device",
0, { B_STRING_TYPE } 0, { B_STRING_TYPE }
}, },
{ NULL } { 0 }
}; };
const BPropertyInfo SerialApp::kScriptingProperties(sProperties); const BPropertyInfo SerialApp::kScriptingProperties(sProperties);
+2 -1
View File
@@ -851,7 +851,8 @@ static struct property_info g_ScriptingPropertyList [] =
{B_DIRECT_SPECIFIER, 0}, "Gets the method used for combining the " {B_DIRECT_SPECIFIER, 0}, "Gets the method used for combining the "
"individual word ratios into an overall score.", PN_SCORING_MODE, "individual word ratios into an overall score.", PN_SCORING_MODE,
{}, {}, {}}, {}, {}, {}},
{0, {0}, {0}, 0, 0, {}, {}, {}} /* End of list of property commands. */
{ 0 }
}; };
+2 -1
View File
@@ -165,7 +165,8 @@ static property_info sPropertyInfo[] = {
{}, {},
{} {}
}, },
{}
{ 0 }
}; };
+2 -1
View File
@@ -83,7 +83,8 @@ static property_info sHandlerPropInfo[] = {
{}, {},
{} {}
}, },
{}
{ 0 }
}; };
bool FilterDeleter(void* filter); bool FilterDeleter(void* filter);
+2 -1
View File
@@ -94,7 +94,8 @@ static property_info sLooperPropInfo[] = {
{}, {},
{} {}
}, },
{}
{ 0 }
}; };
struct _loop_data_ { struct _loop_data_ {
+1 -1
View File
@@ -45,7 +45,7 @@ static property_info sPropertyList[] = {
{ B_INT32_TYPE } { B_INT32_TYPE }
}, },
{0} { 0 }
}; };
+2 -8
View File
@@ -183,14 +183,8 @@ const property_info kPosesPropertyList[] = {
{}, {},
{} {}
}, },
{ NULL,
{}, { 0 }
{},
NULL, 0,
{},
{},
{}
}
}; };
+2 -10
View File
@@ -93,16 +93,8 @@ const property_info kTrackerPropertyList[] = {
{}, {},
{} {}
}, },
{
NULL, { 0 }
{},
{},
NULL,
0,
{},
{},
{}
}
}; };
@@ -54,7 +54,8 @@ property_info message_prop_list[] = {
{B_DIRECT_SPECIFIER, 0}, "get icon as an archived bitmap"}, {B_DIRECT_SPECIFIER, 0}, "get icon as an archived bitmap"},
{ "progress", {B_GET_PROPERTY, B_SET_PROPERTY, 0}, { "progress", {B_GET_PROPERTY, B_SET_PROPERTY, 0},
{B_DIRECT_SPECIFIER, 0}, "get the progress (between 0.0 and 1.0)"}, {B_DIRECT_SPECIFIER, 0}, "get the progress (between 0.0 and 1.0)"},
{ NULL }
{ 0 }
}; };
@@ -45,7 +45,8 @@ property_info main_prop_list[] = {
"create a message"}, "create a message"},
{"message", {B_SET_PROPERTY, 0}, {B_INDEX_SPECIFIER, 0}, {"message", {B_SET_PROPERTY, 0}, {B_INDEX_SPECIFIER, 0},
"modify a message"}, "modify a message"},
{0}
{ 0 }
}; };
@@ -45,6 +45,7 @@ static property_info prop_list[] = {
{ "UseConfigWindow", { B_GET_PROPERTY, B_SET_PROPERTY }, { "UseConfigWindow", { B_GET_PROPERTY, B_SET_PROPERTY },
{ B_DIRECT_SPECIFIER }, { B_DIRECT_SPECIFIER },
B_TRANSLATE_MARK("Show configuration window") }, B_TRANSLATE_MARK("Show configuration window") },
{ 0 } // terminate list { 0 } // terminate list
}; };
+1
View File
@@ -34,6 +34,7 @@ static property_info prop_list[] = {
B_TRANSLATE_MARK("Get name of the printer add-on used for this printer") }, B_TRANSLATE_MARK("Get name of the printer add-on used for this printer") },
{ "Comments", { B_GET_PROPERTY }, { B_DIRECT_SPECIFIER }, { "Comments", { B_GET_PROPERTY }, { B_DIRECT_SPECIFIER },
B_TRANSLATE_MARK("Get comments about this printer") }, B_TRANSLATE_MARK("Get comments about this printer") },
{ 0 } // terminate list { 0 } // terminate list
}; };
@@ -26,6 +26,7 @@ static property_info prop_list[] = {
B_TRANSLATE_MARK("Get name of transport") }, B_TRANSLATE_MARK("Get name of transport") },
{ "Ports", { B_GET_PROPERTY }, { B_DIRECT_SPECIFIER }, { "Ports", { B_GET_PROPERTY }, { B_DIRECT_SPECIFIER },
B_TRANSLATE_MARK("Get currently available ports/devices") }, B_TRANSLATE_MARK("Get currently available ports/devices") },
{ 0 } // terminate list { 0 } // terminate list
}; };