aboutsummaryrefslogtreecommitdiffstats
path: root/src/implementation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/implementation.c')
-rw-r--r--src/implementation.c2
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;
}