diff options
Diffstat (limited to 'src/workarounds.cpp')
-rw-r--r-- | src/workarounds.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/workarounds.cpp b/src/workarounds.cpp index 12512a0..7282c46 100644 --- a/src/workarounds.cpp +++ b/src/workarounds.cpp @@ -460,12 +460,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); |