diff options
author | David Robillard <d@drobilla.net> | 2021-05-06 17:14:56 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-05-06 17:14:56 -0400 |
commit | efb3eb4a6b57b67b0103211380fe5924a05f3440 (patch) | |
tree | 22a9807237affa953d2adc22f3d6d7e277e629a7 /src/implementation.c | |
parent | 6e1a1a76858c3b093630210d65b2b829b8e1fdef (diff) | |
download | pugl-efb3eb4a6b57b67b0103211380fe5924a05f3440.tar.gz pugl-efb3eb4a6b57b67b0103211380fe5924a05f3440.tar.bz2 pugl-efb3eb4a6b57b67b0103211380fe5924a05f3440.zip |
Strengthen clang-tidy warnings
Diffstat (limited to 'src/implementation.c')
-rw-r--r-- | src/implementation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/implementation.c b/src/implementation.c index 6225ac5..ad0de63 100644 --- a/src/implementation.c +++ b/src/implementation.c @@ -445,7 +445,7 @@ puglSetInternalClipboard(PuglView* const view, const void* const data, const size_t len) { - if (type && strcmp(type, "text/plain")) { + if (type && !!strcmp(type, "text/plain")) { return PUGL_UNSUPPORTED_TYPE; } |