Skip to content

Commit

Permalink
Merge pull request #93033 from akien-mga/system-info-remove-empty-vad…
Browse files Browse the repository at this point in the history
…-name

System info: Remove empty parentheses when video adapter driver name is unknown
  • Loading branch information
akien-mga committed Jun 11, 2024
2 parents 1e0015a + b6ad4b1 commit 292e50e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/editor_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 292e50e

Please sign in to comment.