[easytag] Use et_str_empty() in another place
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag] Use et_str_empty() in another place
- Date: Wed, 14 Dec 2016 08:58:22 +0000 (UTC)
commit 7843de17fbec5781b33c9f3940186912c94ac403
Author: David King <amigadave amigadave com>
Date: Wed Dec 14 08:57:27 2016 +0000
Use et_str_empty() in another place
src/tags/id3v24_tag.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tags/id3v24_tag.c b/src/tags/id3v24_tag.c
index 542181d..fc49520 100644
--- a/src/tags/id3v24_tag.c
+++ b/src/tags/id3v24_tag.c
@@ -902,7 +902,7 @@ libid3tag_Get_Frame_Str (const struct id3_frame *frame,
break;
}
- if (tmpstr && *tmpstr && g_utf8_validate (tmpstr, -1, NULL))
+ if (!et_str_empty (tmpstr) && g_utf8_validate (tmpstr, -1, NULL))
{
if (ret)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]