projects
/
profile
/
ivi
/
emotion.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cda37c
)
emotion: fix off by one.
author
cedric
<cedric>
Tue, 5 Jul 2011 11:02:28 +0000
(11:02 +0000)
committer
cedric
<cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 5 Jul 2011 11:02:28 +0000
(11:02 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@61039
7cbeb6ba
-43b4-40fd-8cce-
4c39aea84d33
src/lib/emotion_smart.c
patch
|
blob
|
history
diff --git
a/src/lib/emotion_smart.c
b/src/lib/emotion_smart.c
index
54ee495
..
6b14811
100644
(file)
--- a/
src/lib/emotion_smart.c
+++ b/
src/lib/emotion_smart.c
@@
-1030,7
+1030,7
@@
_eio_load_xattr_done(void *data, Eio_File *handler, const char *xattr_data, unsi
{
Smart_Data *sd = data;
- if (xattr_size < 128 && xattr_data[xattr_size] == '\0')
+ if (xattr_size < 128 && xattr_data[xattr_size
- 1
] == '\0')
{
long long int m = 0;
long int e = 0;