summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWonYoung Choi <wy80.choi@samsung.com>2012-09-07 15:23:00 +0900
committerWonYoung Choi <wy80.choi@samsung.com>2012-09-07 15:23:00 +0900
commit74a1b8cdc5ba3d545d3311bec0372e23e595d69f (patch)
treee3a9df41a8876bca1fcf776eff9a77aa53e9bc09
parent53d54a0adec928379afb9ffea5a03969302fb0b5 (diff)
downloadmessages-74a1b8cdc5ba3d545d3311bec0372e23e595d69f.tar.gz
messages-74a1b8cdc5ba3d545d3311bec0372e23e595d69f.tar.bz2
messages-74a1b8cdc5ba3d545d3311bec0372e23e595d69f.zip
-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)