From efb3eb4a6b57b67b0103211380fe5924a05f3440 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 6 May 2021 17:14:56 -0400 Subject: Strengthen clang-tidy warnings --- src/implementation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/implementation.c') 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; } -- cgit v1.2.1