Annotation of pkgsrc/inputmethod/scim-python/patches/patch-ab, revision 1.2

1.2     ! obache      1: $NetBSD: patch-ab,v 1.1.1.1 2010/08/08 01:05:04 obache Exp $
1.1       obache      2: 
1.2     ! obache      3: * let to cast with appropriate type.
1.1       obache      4: 
                      5: --- src/scim-python-engine.cpp.orig    2008-07-11 04:16:15.000000000 +0000
                      6: +++ src/scim-python-engine.cpp
                      7: @@ -621,7 +621,7 @@ PyIMEngine::py_update_preedit_string (Py
                      8:  
                      9:        unistr = g_utf16_to_ucs4 (str, size, NULL, NULL, NULL);
                     10:  
                     11: -      self->engine.update_preedit_string (WideString ((wchar_t *)unistr), 
1.2     ! obache     12: +      self->engine.update_preedit_string (WideString ((scim::ucs4_t *)unistr), 
1.1       obache     13:                                                                Attributes_FromTupleOrList (pAttrs));
                     14:        g_free (unistr);
                     15:  
                     16: @@ -659,7 +659,7 @@ PyIMEngine::py_update_aux_string (PyIMEn
                     17:                return NULL;
                     18:  
                     19:        unistr = g_utf16_to_ucs4 (str, size, NULL, NULL, NULL);
                     20: -      self->engine.update_aux_string (WideString ((wchar_t *)unistr),
1.2     ! obache     21: +      self->engine.update_aux_string (WideString ((scim::ucs4_t *)unistr),
1.1       obache     22:                                                                Attributes_FromTupleOrList (pAttrs));
                     23:        g_free (unistr);
                     24:  #endif
                     25: @@ -713,7 +713,7 @@ PyIMEngine::py_commit_string (PyIMEngine
                     26:                return NULL;
                     27:  
                     28:        unistr = g_utf16_to_ucs4 (str, size, NULL, NULL, NULL);
                     29: -      self->engine.commit_string (WideString ((wchar_t *)unistr));
1.2     ! obache     30: +      self->engine.commit_string (WideString ((scim::ucs4_t *)unistr));
1.1       obache     31:        g_free (unistr);
                     32:  #endif
                     33:  

CVSweb <webmaster@jp.NetBSD.org>