Fix the IME DB path for considering multi-user 43/45743/2
authorJihoon Kim <jihoon48.kim@samsung.com>
Tue, 11 Aug 2015 04:50:48 +0000 (13:50 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Tue, 11 Aug 2015 04:51:21 +0000 (13:51 +0900)
Change-Id: Ie96136f00fbe3290e082a954f629c7f003ef0a8c

ism/src/isf_query_utility.cpp

index 78cd812..51f0111 100644 (file)
@@ -74,7 +74,7 @@ using namespace scim;
 ///////////////////////////////////////////////////////////////////////////////////////////////////
 // DATABASE
 ///////////////////////////////////////////////////////////////////////////////////////////////////
-#define DB_PATH "/home/owner/.applications/dbspace/.ime_info.db"
+#define DB_PATH tzplatform_mkpath(TZ_USER_DB, ".ime_info.db")
 static struct {
     const char* pPath;
     sqlite3* pHandle;