diff --git a/honoka-plugins/anthy/src/anthyconversion.cpp b/honoka-plugins/anthy/src/anthyconversion.cpp index 40d9d98..3874964 100644 --- a/honoka-plugins/anthy/src/anthyconversion.cpp +++ b/honoka-plugins/anthy/src/anthyconversion.cpp @@ -46,7 +46,7 @@ current = false; anthy_init(); context = anthy_create_context(); - #ifdef HAS_ANTHY_CONTEXT_SET_ENCODING + #ifdef HAS_ANTHY_SET_RECONVERSION_MODE // anthy-7929以上の逆変換制御を利用。 anthy_set_reconversion_mode(context,ANTHY_RECONVERT_DISABLE); #endif @@ -74,7 +74,7 @@ } int AnthyConversion::ren_conversion() { - #ifndef HAS_ANTHY_CONTEXT_SET_ENCODING + #ifndef HAS_ANTHY_SET_RECONVERSION_MODE if (!current) return 0; #endif /* @@ -149,7 +149,7 @@ } bool AnthyConversion::connect() { - #ifndef HAS_ANTHY_CONTEXT_SET_ENCODING + #ifndef HAS_ANTHY_SET_RECONVERSION_MODE return current; #else return true;