summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/capi-messaging-messages.spec2
-rw-r--r--src/messages.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/packaging/capi-messaging-messages.spec b/packaging/capi-messaging-messages.spec
index 3e84fdc..d8b5526 100644
--- a/packaging/capi-messaging-messages.spec
+++ b/packaging/capi-messaging-messages.spec
@@ -1,7 +1,7 @@
Name: capi-messaging-messages
Summary: A SMS/MMS library in Tizen Native API
Version: 0.1.0
-Release: 14
+Release: 15
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
BuildRequires: cmake
diff --git a/src/messages.c b/src/messages.c
index 09ad33f..8fd9986 100644
--- a/src/messages.c
+++ b/src/messages.c
@@ -1460,8 +1460,8 @@ int _messages_save_mms_data(messages_message_s *msg)
{
msg_mms_add_item(page, MSG_STRUCT_MMS_MEDIA, &media);
msg_set_int_value(media, MSG_MMS_MEDIA_TYPE_INT, MMS_SMIL_MEDIA_AUDIO);
- msg_set_str_value(media, MSG_MMS_MEDIA_REGION_ID_STR, (char *)"Image", 5);
- msg_set_str_value(media, MSG_MMS_MEDIA_FILEPATH_STR, (char *)image->filepath, MAX_IMAGE_PATH_LEN);
+ msg_set_str_value(media, MSG_MMS_MEDIA_REGION_ID_STR, (char *)"Audio", 5);
+ msg_set_str_value(media, MSG_MMS_MEDIA_FILEPATH_STR, (char *)audio->filepath, MAX_IMAGE_PATH_LEN);
}
if (NULL != msg->text)