projects
/
profile
/
mobile
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a56ec67
)
[Genlist] Fix bug when error abort is enabled.
author
Tae-Hwan Kim
<the81.kim@samsung.com>
Tue, 7 May 2013 06:48:27 +0000
(15:48 +0900)
committer
Sungho Kwak
<sungho1.kwak@samsung.com>
Wed, 12 Jun 2013 04:54:44 +0000
(13:54 +0900)
Change-Id: Ifbd5dce82171cb658801925fca4c413d91bdecc6
src/lib/elm_genlist.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_genlist.c
b/src/lib/elm_genlist.c
index
75c4585
..
afaea43
100644
(file)
--- a/
src/lib/elm_genlist.c
+++ b/
src/lib/elm_genlist.c
@@
-16,9
+16,11
@@
EAPI const char ELM_GENLIST_SMART_NAME[] = "elm_genlist";
EAPI const char ELM_GENLIST_PAN_SMART_NAME[] = "elm_genlist_pan";
-#define ERR_ABORT(_msg) \
- ERR(_msg); \
- if (getenv("ELM_ERROR_ABORT")) abort();
+#define ERR_ABORT(_msg) \
+ do { \
+ ERR(_msg); \
+ if (getenv("ELM_ERROR_ABORT")) abort(); \
+ } while (0)
#define GL_IT(_it) (_it->item)