[easytag] Fix ETFileDescription length
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag] Fix ETFileDescription length
- Date: Fri, 11 Apr 2014 13:00:11 +0000 (UTC)
commit df33e49df640f774520b76f7c7764c7dfc94a2b8
Author: David King <amigadave amigadave com>
Date: Fri Apr 11 13:59:20 2014 +0100
Fix ETFileDescription length
src/et_core.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/et_core.c b/src/et_core.c
index b9921c1..e699c39 100644
--- a/src/et_core.c
+++ b/src/et_core.c
@@ -116,7 +116,7 @@ const ET_File_Description ETFileDescription[] =
{ UNKNOWN_FILE, "", UNKNOWN_TAG } /* This item must be placed at the end! */
};
-const gsize ET_FILE_DESCRIPTION_SIZE = G_N_ELEMENTS (ETFileDescription);
+const gsize ET_FILE_DESCRIPTION_SIZE = G_N_ELEMENTS (ETFileDescription) - 1;
/*
* Colors Used
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]