Fixed a typo in 'uwp_device_capabilites'

This commit is contained in:
M. Huri 2019-01-19 20:51:30 +07:00
parent 7f9209781c
commit 544015e380
1 changed files with 3 additions and 3 deletions

View File

@ -73,7 +73,7 @@ static const char *uwp_uap_capabilities[] = {
"voipCall",
NULL
};
static const char *uwp_device_capabilites[] = {
static const char *uwp_device_capabilities[] = {
"bluetooth",
"location",
"microphone",
@ -841,7 +841,7 @@ class EditorExportUWP : public EditorExportPlatform {
}
uap++;
}
const char **device = uwp_device_capabilites;
const char **device = uwp_device_capabilities;
while (*device) {
if ((bool)p_preset->get("capabilities/" + String(*device))) {
capabilities_elements += " <DeviceCapability Name=\"" + String(*device) + "\" />\n";
@ -1105,7 +1105,7 @@ public:
uap++;
}
const char **device = uwp_device_capabilites;
const char **device = uwp_device_capabilities;
while (*device) {
r_options->push_back(ExportOption(PropertyInfo(Variant::BOOL, "capabilities/" + String(*device).camelcase_to_underscore(false)), false));
device++;