diff options
author | sabetts <sabetts> | 2001-08-18 21:54:21 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2001-08-18 21:54:21 +0000 |
commit | 0a1a6fbcfddf9f4857b1c95f32321bbd27968cea (patch) | |
tree | d7d799cffdbc3e27a37a8bbeac1393694def1c88 /src/communications.c | |
parent | bd72362cf682c093fe84802b6c08b67f6f9d819e (diff) | |
download | ratpoison-0a1a6fbcfddf9f4857b1c95f32321bbd27968cea.zip |
commands can be called interactively and non-interactively. commands return a result string
Diffstat (limited to 'src/communications.c')
-rw-r--r-- | src/communications.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/communications.c b/src/communications.c index 0a0194d..8b6cd66 100644 --- a/src/communications.c +++ b/src/communications.c @@ -89,7 +89,7 @@ recieve_command_result (Window w) True, XA_STRING, &type_ret, &format_ret, &nitems, &bytes_after, &result) == Success) { - if (result) + if (result && strlen (result)) { printf ("%s\n", result); } |