summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2012-12-19 19:34:45 +0000
committerJon TURNEY <jon.turney@dronecode.org.uk>2012-12-19 19:34:45 +0000
commit6be1857cb58381f702e9726ba3d2d78ed5341cc3 (patch)
treee037c6a055b71819c682aa291ce251f96bdfe5dd
parenta9e2c19e351a5f0bd274e1d0b5c757247ddf4a2a (diff)
Report defaulting to $DISPLAY more clearlyXtoW-20121220
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index d33408d..fae3121 100644
--- a/src/main.c
+++ b/src/main.c
@@ -169,7 +169,7 @@ int main(int argc, char **argv)
if (optind < argc)
help();
- DEBUG("screen is '%s'\n", screen);
+ DEBUG("screen is '%s'\n", screen ? screen : "$DISPLAY");
// ensure this thread has a message queue
MSG msg;