Skip to content

Commit e623366

Browse files
committed
Update to libchewing v0.8.3 (Rust code ver.)
Signed-off-by: Hui-Hong You <hiroshi@ghostsinthelab.org>
1 parent 768f130 commit e623366

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

app/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ plugins {
2222
}
2323

2424
val projectName: String = "libchewing_android_app_module"
25-
val versionName: String = "0.8.2"
25+
val versionName: String = "0.8.3"
2626

2727
android {
2828
namespace = "com.miyabi_hiroshi.app.${projectName}"

app/src/main/cpp/app.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ Java_com_miyabi_1hiroshi_app_libchewing_1android_1app_1module_Chewing_chewingNew
2323
__android_log_print(ANDROID_LOG_VERBOSE, LOGTAG, "native_data_path: %s", native_data_path);
2424

2525
/* build native_user_data_path */
26-
char user_db[] = "user.sqlite3";
27-
/* this first 1 is for '/', second 1 is for zero terminator */
28-
unsigned int native_user_data_path_len = strlen(native_data_path) + strlen(user_db) + 1 + 1;
26+
char user_hash_dat[] = "userhash.dat";
27+
/* this first 1 is for '/', the second 1 is for zero terminator */
28+
unsigned int native_user_data_path_len = strlen(native_data_path) + strlen(user_hash_dat) + 1 + 1;
2929
char native_user_data_path[native_user_data_path_len];
3030
memset(native_user_data_path, '\0', native_user_data_path_len);
3131

3232
strcat(native_user_data_path, native_data_path);
3333
strcat(native_user_data_path, "/");
34-
strcat(native_user_data_path, user_db);
34+
strcat(native_user_data_path, user_hash_dat);
3535

3636
__android_log_print(ANDROID_LOG_VERBOSE, LOGTAG, "native_user_data_path: %s",
3737
native_user_data_path);

app/src/main/cpp/libs/libchewing

Submodule libchewing updated 91 files

0 commit comments

Comments
 (0)