summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaszlo Peter <laca@ireland.sun.com>2001-11-02 14:55:00 +0000
committerLászló PÉTER <laca@src.gnome.org>2001-11-02 14:55:00 +0000
commit6bae734d41f4e8778f75354e670d58a5f40995db (patch)
treeb7a3905cbb436e21364ab209a524f508f92f88e9 /src
parent8c5e683296bb4b33f07e5a7417e0617708dab3f0 (diff)
downloadmetacity-6bae734d41f4e8778f75354e670d58a5f40995db.tar.gz
metacity-6bae734d41f4e8778f75354e670d58a5f40995db.tar.bz2
protect meta_verbose from a NULL pointer.
2001-11-02 Laszlo Peter <laca@ireland.sun.com> * src/window.c (update_sm_hints): protect meta_verbose from a NULL pointer.
Diffstat (limited to 'src')
-rw-r--r--src/window.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c
index ec12ca2..c7a3b7e 100644
--- a/src/window.c
+++ b/src/window.c
@@ -3575,7 +3575,8 @@ update_sm_hints (MetaWindow *window)
&window->sm_client_id);
meta_verbose ("Window %s client leader: 0x%lx SM_CLIENT_ID: '%s'\n",
- window->desc, window->xclient_leader, window->sm_client_id);
+ window->desc, window->xclient_leader,
+ window->sm_client_id ? window->sm_client_id : "(null)");
}
else
meta_verbose ("Didn't find a client leader for %s\n", window->desc);