summaryrefslogtreecommitdiff
path: root/src/workarounds.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/workarounds.cpp')
-rw-r--r--src/workarounds.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/workarounds.cpp b/src/workarounds.cpp
index 7965c60..94b07d4 100644
--- a/src/workarounds.cpp
+++ b/src/workarounds.cpp
@@ -436,12 +436,12 @@ WorkaroundsWindow::getRoleAtom ()
(unsigned char **) &str);
if (result != Success)
- return NULL;
+ return "";
if (type != XA_STRING)
{
XFree (str);
- return NULL;
+ return "";
}
retval = CompString ((const char *) str);