gnokii-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] libgnokii and core programs branch, master, updated. rel_0_6_28-13


From: Daniele Forsi
Subject: [SCM] libgnokii and core programs branch, master, updated. rel_0_6_28-139-g3664c74
Date: Mon, 30 Nov 2009 20:58:26 +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  3664c74c376664731cb12c545fa006cab4aff29f (commit)
      from  e054ce44575ff65f7697808e40a86cffcc4c7e20 (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=3664c74c376664731cb12c545fa006cab4aff29f


commit 3664c74c376664731cb12c545fa006cab4aff29f
Author: Daniele Forsi <address@hidden>
Date:   Sun Nov 29 15:19:29 2009 +0100

    Don't try to encode an 8 bit SMS as text

diff --git a/gnokii/gnokii-sms.c b/gnokii/gnokii-sms.c
index 13b45f6..4e1edb1 100644
--- a/gnokii/gnokii-sms.c
+++ b/gnokii/gnokii-sms.c
@@ -339,7 +339,8 @@ gn_error sendsms(int argc, char *argv[], gn_data *data, 
struct gn_statemachine *
                if (error != GN_ERR_NONE)
                        return error;
                sms.user_data[curpos].type = GN_SMS_DATA_Text;
-               if (!gn_char_def_alphabet(sms.user_data[curpos].u.text))
+               if ((sms.dcs.u.general.alphabet != GN_SMS_DCS_8bit)
+                   && !gn_char_def_alphabet(sms.user_data[curpos].u.text))
                        sms.dcs.u.general.alphabet = GN_SMS_DCS_UCS2;
                sms.user_data[++curpos].type = GN_SMS_DATA_None;
        }

-----------------------------------------------------------------------

Summary of changes:
 gnokii/gnokii-sms.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
libgnokii and core programs




reply via email to

[Prev in Thread] Current Thread [Next in Thread]