diff options
author | David Robillard <d@drobilla.net> | 2019-09-07 14:16:19 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-09-07 14:40:39 +0200 |
commit | dc9f1d852d3fba8ddcf7bb535810ad384900fe06 (patch) | |
tree | b3ea2e2b5be850fa3b42c476ae03f04d960b0433 /pugl/detail/implementation.c | |
parent | 7162fa4f5656ad7dfe2d6fea02f9f33c5aa1b1cf (diff) | |
download | pugl-dc9f1d852d3fba8ddcf7bb535810ad384900fe06.tar.gz pugl-dc9f1d852d3fba8ddcf7bb535810ad384900fe06.tar.bz2 pugl-dc9f1d852d3fba8ddcf7bb535810ad384900fe06.zip |
Clean up error handling
Diffstat (limited to 'pugl/detail/implementation.c')
-rw-r--r-- | pugl/detail/implementation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pugl/detail/implementation.c b/pugl/detail/implementation.c index f1fd57a..6375444 100644 --- a/pugl/detail/implementation.c +++ b/pugl/detail/implementation.c @@ -306,7 +306,7 @@ puglSetInternalClipboard(PuglView* const view, const size_t len) { if (type && strcmp(type, "text/plain")) { - return PUGL_ERR_UNSUPPORTED_TYPE; + return PUGL_UNSUPPORTED_TYPE; } puglSetBlob(&view->clipboard, data, len); |