Skip to content

Commit b6ad4b1

Browse files
committed
System info: Remove empty parentheses when video adapter driver name is unknown
Seems to be the case at least for me on Fedora, and in various issues I see from other Linux users.
1 parent a7aa835 commit b6ad4b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editor/editor_node.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4928,7 +4928,7 @@ String EditorNode::_get_system_info() const {
49284928
const String &vad_version = video_adapter_driver_info[1]; // Version could be potentially empty on Linux/BSD.
49294929
if (!vad_version.is_empty()) {
49304930
graphics += vformat(" (%s; %s)", vad_name, vad_version);
4931-
} else {
4931+
} else if (!vad_name.is_empty()) {
49324932
graphics += vformat(" (%s)", vad_name);
49334933
}
49344934
}

0 commit comments

Comments
 (0)