Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: unblock
This fixes Bug #688011. Even though most Pinyin users does not use fcitx-m17n everyday, there are people who are using it because they are learning to input Chinese, or they don't have access to install software. This fix is an important one to complete fcitx-m17n's functionality as its name suggested. diff -Nru fcitx-m17n-0.1.2/debian/changelog fcitx-m17n-0.1.2/debian/changelog --- fcitx-m17n-0.1.2/debian/changelog 2012-05-15 16:37:49.000000000 +0800 +++ fcitx-m17n-0.1.2/debian/changelog 2012-09-24 22:45:28.000000000 +0800 @@ -1,3 +1,9 @@ +fcitx-m17n (0.1.2-2) unstable; urgency=low + + * Fix pinyin input window (Closes: #688011). + + -- Aron Xu <a...@debian.org> Mon, 24 Sep 2012 22:42:54 +0800 + fcitx-m17n (0.1.2-1) unstable; urgency=low * New upstream release. diff -Nru fcitx-m17n-0.1.2/debian/patches/0001-fix-debian-bug-688011.patch fcitx-m17n-0.1.2/debian/patches/0001-fix-debian-bug-688011.patch --- fcitx-m17n-0.1.2/debian/patches/0001-fix-debian-bug-688011.patch 1970-01-01 08:00:00.000000000 +0800 +++ fcitx-m17n-0.1.2/debian/patches/0001-fix-debian-bug-688011.patch 2012-09-24 22:45:28.000000000 +0800 @@ -0,0 +1,36 @@ +From: Weng Xuetian <wen...@gmail.com> +Date: Sun, 23 Sep 2012 21:44:40 -0400 +Subject: fix debian bug #688011 + +--- + im/fcitx-m17n.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/im/fcitx-m17n.c b/im/fcitx-m17n.c +index bc9a938..c404ddd 100644 +--- a/im/fcitx-m17n.c ++++ b/im/fcitx-m17n.c +@@ -324,6 +324,7 @@ MSymbol KeySymToSymbol (FcitxKeySym sym, unsigned int state) + } + + const char* base = ""; ++ char temp[2] = " "; + + if (sym >= FcitxKey_space && sym <= FcitxKey_asciitilde) { + FcitxKeySym c = sym; +@@ -337,7 +338,6 @@ MSymbol KeySymToSymbol (FcitxKeySym sym, unsigned int state) + mask |= FcitxKeyState_Ctrl; + } + +- char temp[2] = " "; + temp[0] = c & 0xff; + base = temp; + } +@@ -714,4 +714,4 @@ FcitxM17NCallback (MInputContext *context, + else if (len > 0) + FcitxInstanceDeleteSurroundingText (im->owner->owner, ic, 0, -len); + } +-} +\ No newline at end of file ++} +-- diff -Nru fcitx-m17n-0.1.2/debian/patches/series fcitx-m17n-0.1.2/debian/patches/series --- fcitx-m17n-0.1.2/debian/patches/series 1970-01-01 08:00:00.000000000 +0800 +++ fcitx-m17n-0.1.2/debian/patches/series 2012-09-24 22:45:28.000000000 +0800 @@ -0,0 +1 @@ +0001-fix-debian-bug-688011.patch -- Regards, Aron Xu -- To UNSUBSCRIBE, email to debian-release-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAMr=8w72eU79fSu118EXWzEen9sO5A1ViKM5Yn1bfQM=bmw...@mail.gmail.com