summaryrefslogtreecommitdiff
path: root/legacy/emotion/src/lib/emotion_smart.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2011-07-05 11:02:28 +0000
committerCedric BAIL <cedric.bail@free.fr>2011-07-05 11:02:28 +0000
commit95b6992006d2a4d2eeb4f18fdc7e558934027dbe (patch)
treee41f6833e70d461afb65e67eb807edb9eebc0a78 /legacy/emotion/src/lib/emotion_smart.c
parent2bff72b07aa24fafc9736f67c1439937bf36aa69 (diff)
emotion: fix off by one.
SVN revision: 61039
Diffstat (limited to 'legacy/emotion/src/lib/emotion_smart.c')
-rw-r--r--legacy/emotion/src/lib/emotion_smart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/emotion/src/lib/emotion_smart.c b/legacy/emotion/src/lib/emotion_smart.c
index 54ee4952fa..6b14811731 100644
--- a/legacy/emotion/src/lib/emotion_smart.c
+++ b/legacy/emotion/src/lib/emotion_smart.c
@@ -1030,7 +1030,7 @@ _eio_load_xattr_done(void *data, Eio_File *handler, const char *xattr_data, unsi
1030{ 1030{
1031 Smart_Data *sd = data; 1031 Smart_Data *sd = data;
1032 1032
1033 if (xattr_size < 128 && xattr_data[xattr_size] == '\0') 1033 if (xattr_size < 128 && xattr_data[xattr_size - 1] == '\0')
1034 { 1034 {
1035 long long int m = 0; 1035 long long int m = 0;
1036 long int e = 0; 1036 long int e = 0;