diff options
author | sabetts <sabetts> | 2006-04-29 15:34:14 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2006-04-29 15:34:14 +0000 |
commit | cad59769b61b4ccd618f72355d1011eaf0008b96 (patch) | |
tree | 829036de11ca152cb17af6935db6d0547126bb59 /src/bar.c | |
parent | 36f998eb7c667d913cc398881b3b304f242898d8 (diff) | |
download | ratpoison-cad59769b61b4ccd618f72355d1011eaf0008b96.zip |
* src/bar.c (marked_message): print NULL if msg is null in debug output
* src/actions.c (cmd_getenv): return an empty string for
nonexistant env vars.
(command): print NULL if rest is null in debug output
Diffstat (limited to 'src/bar.c')
-rw-r--r-- | src/bar.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -495,7 +495,7 @@ marked_message (char *msg, int mark_start, int mark_end) int width; int height; - PRINT_DEBUG (("msg = %s\n", msg)); + PRINT_DEBUG (("msg = %s\n", msg?msg:"NULL")); PRINT_DEBUG (("mark_start = %d, mark_end = %d\n", mark_start, mark_end)); /* Schedule the bar to be hidden after some amount of time. */ |