elm: Unified the usage of strncmp.
authorDaniel Juyung Seo <seojuyung2@gmail.com>
Sun, 26 Jan 2014 17:07:44 +0000 (02:07 +0900)
committerDaniel Juyung Seo <seojuyung2@gmail.com>
Sun, 26 Jan 2014 17:07:44 +0000 (02:07 +0900)
commit69811f7983c4f84d3477f02b3b08c5bb0ef5089f
tree3c7bdc90dd4ee72bc56a61d9f7de3975aa5093a4
parent3ba4e4f7a3ca2acb850cb22c7adf29f4abc7ac52
elm: Unified the usage of strncmp.

- Use strlen instead of sizeof(x) - 1 for string length calculation.
- Use !strncmp for null check.
src/lib/elm_atspi_bridge.c
src/lib/elm_image.c
src/lib/elm_layout.c
src/lib/elm_map.c
src/lib/elm_photocam.c