~ubuntu-branches/ubuntu/trusty/fcitx/trusty-proposed

« back to all changes in this revision

Viewing changes to src/frontend/xim/lib/i18nUtil.c

  • Committer: Package Import Robot
  • Author(s): Aron Xu
  • Date: 2013-02-10 17:03:56 UTC
  • mfrom: (1.3.18) (33.1.3 experimental)
  • Revision ID: package-import@ubuntu.com-20130210170356-2yuv6xy3ed378kn0
Tags: 1:4.2.7-1
* New upstream release.
* New binary packages:
  - fcitx-libs-gclient: D-Bus client library for Glib
  - fcitx-libs-qt: D-Bus client library for Qt
  - fcitx-module-quickphrase-editor: Quick Phrase editor module

Show diffs side-by-side

added added

removed removed

Lines of Context:
152
152
    reply_length = header_size + length;
153
153
    reply = (unsigned char *) malloc(reply_length);
154
154
    replyp = reply;
155
 
    memmove(reply, reply_hdr, header_size);
 
155
    memcpy(reply, reply_hdr, header_size);
156
156
    replyp += header_size;
157
 
    memmove(replyp, data, length);
 
157
    memcpy(replyp, data, length);
158
158
 
159
159
    i18n_core->methods.send(ims, connect_id, reply, reply_length);
160
160