Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

! in comparison changed to != #190

Merged
merged 1 commit into from
Feb 25, 2024

Conversation

pascal-niklaus
Copy link
Contributor

This refers to #188

  if(!gdk_device_get_device_type(device) == GDK_DEVICE_TYPE_MASTER ...)

was a bit unfortunate since this evaluates to TRUE when gdk_device_get_device_type returns values > 0, since GDK_DEVICE_TYPE_MASTER is 0.

Changed to the clearer form:

  if (gdk_device_get_device_type(device) != GDK_DEVICE_TYPE_MASTER ...)

@bk138 bk138 merged commit 2446a4f into bk138:master Feb 25, 2024
1 check failed
@bk138
Copy link
Owner

bk138 commented Feb 25, 2024

@pascal-niklaus thanks! please prefix commit messages with the subsystem changed for future commits and make the messsage in the form, "when applied, this commit wil ..." as per https://github.com/bk138/gromit-mpx/blob/master/CONTRIBUTING.md :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants