diff options
author | Marco Peereboom <marco@conformal.com> | 2011-02-25 18:33:21 +0000 |
---|---|---|
committer | Marco Peereboom <marco@conformal.com> | 2011-02-25 18:33:21 +0000 |
commit | 6b6a5a3797ac86e8795a9245654a46e5c98e29ae (patch) | |
tree | f9561f17dd94ee0d97e7c54fa61b19cf0c11c9e0 | |
parent | 3e09c531a98f1e764d9b6294cc0ef401a1904b52 (diff) | |
download | xombrero-6b6a5a3797ac86e8795a9245654a46e5c98e29ae.tar.gz |
KNF
-rw-r--r-- | xxxterm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xxxterm.c b/xxxterm.c index 0befe97..7930b10 100644 --- a/xxxterm.c +++ b/xxxterm.c @@ -5476,7 +5476,7 @@ xt_icon_from_pixbuf(struct tab *t, GdkPixbuf *pixbuf) gboolean is_valid_icon(char *file) { - gboolean valid = 0; + gboolean valid = 0; const char *mime_type; GFileInfo *fi; GFile *gf; @@ -6787,7 +6787,8 @@ delete_tab(struct tab *t) void adjustfont_webkit(struct tab *t, int adjust) { - gfloat zoom; + gfloat zoom; + if (t == NULL) { show_oops_s("adjustfont_webkit invalid parameters"); return; |