X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fw-input-stt-voice.cpp;h=6e501989b766b900fdf1eb584a0ca943ed1d06c6;hb=db9ef5722565ca9b30509d37506932c6057f3ac1;hp=7193560d73cc53a8f16ff90f3ab73109458e5bdd;hpb=f514b7d07f5847e6633b1cf951f5140ed158eec7;p=platform%2Fcore%2Fuifw%2Finputdelegator.git diff --git a/src/w-input-stt-voice.cpp b/src/w-input-stt-voice.cpp index 7193560..6e50198 100755 --- a/src/w-input-stt-voice.cpp +++ b/src/w-input-stt-voice.cpp @@ -954,6 +954,7 @@ char *__get_genlist_item_label(void *data, Evas_Object *obj, const char *part) strncpy(text, p+1, strlen(s)-(p-s)-2); } else { strncpy(text, s, strlen(s)); + text[strlen(s)] = '\0'; } } else { strncpy(text, "", strlen(""));