projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b20e58d
)
Note to self: never commit in a hurry.
author
Gustavo Lima Chaves
<glima@profusion.mobi>
Wed, 7 Apr 2010 17:27:58 +0000
(17:27 +0000)
committer
Gustavo Lima Chaves
<glima@profusion.mobi>
Wed, 7 Apr 2010 17:27:58 +0000
(17:27 +0000)
SVN revision: 47817
src/edje_externals/elm_map.c
patch
|
blob
|
history
diff --git
a/src/edje_externals/elm_map.c
b/src/edje_externals/elm_map.c
index
9c5c06e
..
fc0359e
100644
(file)
--- a/
src/edje_externals/elm_map.c
+++ b/
src/edje_externals/elm_map.c
@@
-23,7
+23,7
@@
_zoom_mode_get(const char *map_src)
unsigned int i;
assert(sizeof(zoom_choices)/sizeof(zoom_choices[0]) ==
- ELM_MAP_ZOOM_MODE_LAST);
+ ELM_MAP_ZOOM_MODE_LAST
+ 1
);
for (i = 0; i < sizeof(zoom_choices); i++)
if (strcmp(map_src, zoom_choices[i]) == 0) return i;