Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
epg: fix _epg_object_set_lang_str - correctly notify about object upd…
…ates
  • Loading branch information
perexg committed Mar 23, 2016
1 parent 05cc17f commit 99b3e0c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/epg.c
Expand Up @@ -336,11 +336,13 @@ static int _epg_object_set_lang_str
if (!str) {
lang_str_destroy(*old);
*old = NULL;
_epg_object_set_updated(o);
return 1;
}
if (lang_str_compare(*old, str)) {
lang_str_destroy(*old);
*old = lang_str_copy(str);
_epg_object_set_updated(o);
return 1;
}
return 0;
Expand Down

0 comments on commit 99b3e0c

Please sign in to comment.