Skip to content

Commit 2871181

Browse files
committed
device: Replace erroneous && with ||.
1 parent 2960ae6 commit 2871181

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

panda/src/device/inputDeviceNode.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ void InputDeviceNode::
5454
do_transmit_data(DataGraphTraverser *, const DataNodeTransmit &,
5555
DataNodeTransmit &output) {
5656

57-
if (_device == nullptr && !_device->is_connected()) {
57+
if (_device == nullptr || !_device->is_connected()) {
5858
return;
5959
}
6060

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy