Fix trailing character issue in log 78/60378/2
authorJihoon Kim <jihoon48.kim@samsung.com>
Thu, 25 Feb 2016 23:44:46 +0000 (08:44 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Fri, 26 Feb 2016 00:17:07 +0000 (09:17 +0900)
Change-Id: I1c995b7f0e61ede0ee86ecea932ac94d53bf11c6

xml2binary/encode_modifier_decoration.cpp
xml2binary/encode_nine_patch.cpp
xml2binary/include/resource_storage_impl.h

index a5c0dfb..4e42ea7 100644 (file)
@@ -41,7 +41,7 @@ encode_modifier_decoration_file(ResourceStorage& storage, IMetaData_Helper& md_h
     XMLResource *xmlresource = XMLResource::get_instance();
     PSclModifierDecoration modifierDecorationTable = xmlresource->get_modifier_decoration_table();
     if (modifierDecorationTable == NULL) {
-        LOGW("Error. modifier decoration table is NULL");
+        LOGW("Error. modifier decoration table is NULL\n");
         return 0;
     }
 
index de94026..fc747a4 100644 (file)
@@ -46,12 +46,12 @@ encode_nine_patch_file(ResourceStorage& storage, IMetaData_Helper& md_helper) {
 
     XMLResource *xmlresource = XMLResource::get_instance();
     if (xmlresource == NULL) {
-        LOGW("Error: failed to get xmlresource instance.");
+        LOGW("Error: failed to get xmlresource instance.\n");
         return 0;
     }
     SclNinePatchInfo* ninePatchInfoTable = xmlresource->get_nine_patch_list();
     if (ninePatchInfoTable == NULL) {
-        LOGW("Warning: nine patch list is null");
+        LOGW("Warning: nine patch list is null\n");
         return 0;
     }
 #ifdef __SCL_TXT_DEBUG
index 465361d..fb5553b 100644 (file)
@@ -144,13 +144,13 @@ inline void ResourceStorage::
 expand_storage() {
     unsigned int _new_size = (unsigned int)(m_capability + __RE_NEW_LENGTH__);
     if (_new_size > (unsigned int)__MAX_NEW_SIZE__) {
-        LOGW("expand_storage failed: size is limited to %d", __MAX_NEW_SIZE__);
+        LOGW("expand_storage failed: size is limited to %d\n", __MAX_NEW_SIZE__);
         return;
     }
 
     char* _p = new char[_new_size];
     if (_p == NULL) {
-        LOGW("expand_storage error");
+        LOGW("expand_storage error\n");
         return;
     }
     memset(_p, 0x00, _new_size);