Fix suspicious | and + operators

(cherry picked from commit d0621b954b)
This commit is contained in:
Rafał Mikrut 2020-02-23 09:28:54 +01:00 committed by Rémi Verschelde
parent 6e300a0c49
commit d001ca320d
2 changed files with 2 additions and 2 deletions

View file

@ -355,7 +355,7 @@ void VisualScriptPropertySelector::get_visual_node_names(const String &root_filt
continue;
}
bool in_modifier = false | p_modifiers.empty();
bool in_modifier = p_modifiers.empty();
for (Set<String>::Element *F = p_modifiers.front(); F && in_modifier; F = F->next()) {
if (E->get().findn(F->get()) != -1)
in_modifier = true;

View file

@ -337,7 +337,7 @@ class EditorExportPlatformAndroid : public EditorExportPlatform {
Vector<String> props = dp.split("\n");
String vendor;
String device;
d.description + "Device ID: " + d.id + "\n";
d.description = "Device ID: " + d.id + "\n";
d.api_level = 0;
for (int j = 0; j < props.size(); j++) {