gnokii-users
[Top][All Lists]
Advanced

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

patch for xgnokii_lowlevel.c


From: Ulrich Hopp
Subject: patch for xgnokii_lowlevel.c
Date: Sun, 5 Jan 2003 00:24:48 +0100
User-agent: KMail/1.4.3

Hi,

gnokii : latest version from CVS 0.5.0pre (04.01.2003)
Phone : Nokia 6310 V 4.10 04-01-02 NPE-4
Cabel : DLR3-3P
System SuSE 8.1 ( ftp update )

Hi,
first index of gdat.message_list should be SMS message number, second one 
should be the folder number.

regards
Uli


--- xgnokii_lowlevel.c.orig     2003-01-04 23:47:13.000000000 +0100
+++ xgnokii_lowlevel.c  2003-01-05 00:12:56.000000000 +0100
@@ -1248,7 +1248,7 @@
                for (i = 0; i < GN_SMS_FOLDER_MAX_NUMBER; i++) {
                        gdat.folder_stats[i] = &FolderStats[i];
                        for (j = 0; j < GN_SMS_MESSAGE_MAX_NUMBER; j++)
-                               gdat.message_list[i][j] = &MessagesList[i][j];
+                               gdat.message_list[j][i] = &MessagesList[j][i];
                }

                if ((gn_sms_get_folder_changes(&gdat, &statemachine, 
(phoneMonitor.supported & PM_FOLDERS))) == GN_ERR_NONE) {




reply via email to

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