[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] libgnokii and core programs branch, master, updated. rel_0_6_28-18
From: |
Pawel Kot |
Subject: |
[SCM] libgnokii and core programs branch, master, updated. rel_0_6_28-186-gfd3cbde |
Date: |
Tue, 06 Apr 2010 14:06:03 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "libgnokii and core programs".
The branch, master has been updated
via fd3cbde10ba49588e83b6cee108ab6e40c83153e (commit)
from e2cd022ac22362a2f85aaa0a6646fed2d60270b9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/gnokii.git/commit/?id=fd3cbde10ba49588e83b6cee108ab6e40c83153e
commit fd3cbde10ba49588e83b6cee108ab6e40c83153e
Author: Pawel Kot <address@hidden>
Date: Tue Apr 6 16:04:41 2010 +0200
Fix unicode encoding output string length. With char_unicode_encode()
function strings were cut in half.
diff --git a/common/gsm-encoding.c b/common/gsm-encoding.c
index c5c7f66..e2ab491 100644
--- a/common/gsm-encoding.c
+++ b/common/gsm-encoding.c
@@ -959,7 +959,7 @@ unsigned int char_unicode_encode(unsigned char* dest, const
unsigned char* src,
MBSTATE_ENC_CLEAR(mbs);
#ifdef HAVE_ICONV
- pos = ucs2_encode(dest, len, src, len);
+ pos = ucs2_encode(dest, 2 * len, src, len);
#else
while (offset < len) {
length = char_uni_alphabet_encode(src + offset, len - offset,
&wc, &mbs);
-----------------------------------------------------------------------
Summary of changes:
common/gsm-encoding.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
libgnokii and core programs
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] libgnokii and core programs branch, master, updated. rel_0_6_28-186-gfd3cbde,
Pawel Kot <=