change sound path of mms media 2.0alpha master 2.0_alpha submit/master/20120920.150947
authorSeunghwan Lee <sh.cat.lee@samsung.com>
Sat, 8 Sep 2012 11:53:37 +0000 (20:53 +0900)
committerSeunghwan Lee <sh.cat.lee@samsung.com>
Sat, 8 Sep 2012 11:53:37 +0000 (20:53 +0900)
Change-Id: I8430e8dff259c00020fec0320ad0452f2367a7b5

composer/src/message/msg-ui-composer-message.c

index 45f2ab1..e1718e5 100755 (executable)
@@ -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);