diff options
author | Benjamin Otte <otte@gnome.org> | 2008-11-09 09:39:31 +0100 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2008-11-09 09:39:31 +0100 |
commit | 57220588fbec85b47c5a7175b9442c31868cbe7c (patch) | |
tree | 3c61d7e13e028a61bcd74ff42d90299341f56867 | |
parent | f7344fc6f41e6b164024ab7f9df5eeff482815f6 (diff) |
check the right value for an error
-rw-r--r-- | swfdec/swfdec_as_string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swfdec/swfdec_as_string.c b/swfdec/swfdec_as_string.c index 2d2e2698..7bbd314c 100644 --- a/swfdec/swfdec_as_string.c +++ b/swfdec/swfdec_as_string.c @@ -710,7 +710,7 @@ swfdec_as_string_escape (SwfdecAsContext *cx, const char *s) array = g_byte_array_new (); if (cx->version <= 5) { in = g_convert (s, -1, "LATIN1", "UTF-8", NULL, NULL, NULL); - if (s == NULL) { + if (in == NULL) { SWFDEC_FIXME ("%s can not be converted to utf8 - is this Flash 5 or what?", s); return NULL; } else { |