summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcomposer/src/message/msg-ui-composer-message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/composer/src/message/msg-ui-composer-message.c b/composer/src/message/msg-ui-composer-message.c
index 45f2ab1..e1718e5 100755
--- a/composer/src/message/msg-ui-composer-message.c
+++ b/composer/src/message/msg-ui-composer-message.c
@@ -578,7 +578,7 @@ static COMPOSER_RETURN_TYPE_E __msg_ui_composer_make_mms_body(msg_handle_t msg_h
if (ui_mms_data->pagelist[i].isSound) {
MSG_UI_DEBUG(MSG_UI_LEVEL_DEBUG, "[DEBUG] sound file added");
msg_struct_t added_media = NULL;
- char *filepath = ui_mms_data->pagelist[i].image_file_path;
+ char *filepath = ui_mms_data->pagelist[i].sound_file_path;
msg_mms_add_item(page_info, MSG_STRUCT_MMS_MEDIA, &added_media);
msg_set_int_value(added_media, MSG_MMS_MEDIA_TYPE_INT, MMS_SMIL_MEDIA_AUDIO);