1
0
mirror of https://github.com/godotengine/godot synced 2024-07-05 15:23:35 +00:00

Merge pull request #93033 from akien-mga/system-info-remove-empty-vad-name

System info: Remove empty parentheses when video adapter driver name is unknown
This commit is contained in:
Rémi Verschelde 2024-06-11 16:59:41 +02:00
commit 292e50e17e
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -4928,7 +4928,7 @@ String EditorNode::_get_system_info() const {
const String &vad_version = video_adapter_driver_info[1]; // Version could be potentially empty on Linux/BSD.
if (!vad_version.is_empty()) {
graphics += vformat(" (%s; %s)", vad_name, vad_version);
} else {
} else if (!vad_name.is_empty()) {
graphics += vformat(" (%s)", vad_name);
}
}