gnokii-commit
[Top][All Lists]
Advanced

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

CVS: gnokii/common/phones nk7110.c,1.68,1.69


From: Markus Plail <address@hidden>
Subject: CVS: gnokii/common/phones nk7110.c,1.68,1.69
Date: Tue, 02 Apr 2002 09:37:07 -0500

Update of /cvsroot/gnokii/gnokii/common/phones
In directory subversions:/tmp/cvs-serv31348

Modified Files:
        nk7110.c 
Log Message:
Typo

Index: nk7110.c
===================================================================
RCS file: /cvsroot/gnokii/gnokii/common/phones/nk7110.c,v
retrieving revision 1.68
retrieving revision 1.69
diff -C2 -r1.68 -r1.69
*** nk7110.c    2 Apr 2002 14:22:26 -0000       1.68
--- nk7110.c    2 Apr 2002 14:37:05 -0000       1.69
***************
*** 1205,1209 ****
        c->Time.Hour = block[0];
        c->Time.Minute = block[1];
!       c->Recurence = ((((unsigned int)block[4]) << 8) + block[5]) * 60;
        alarmdiff = (((unsigned int)block[2]) << 8) + block[3];
  
--- 1205,1209 ----
        c->Time.Hour = block[0];
        c->Time.Minute = block[1];
!       c->Recurrence = ((((unsigned int)block[4]) << 8) + block[5]) * 60;
        alarmdiff = (((unsigned int)block[2]) << 8) + block[3];
  
***************
*** 1254,1258 ****
                case P7110_NOTE_REMINDER:
                        data->CalendarNote->Type = GCN_REMINDER;
!                       data->CalendarNote->Recurence = ((((unsigned 
int)block[0]) << 8) + block[1]) * 60;
                        DecodeUnicode(data->CalendarNote->Text, (block + 4), 
block[2]);
                        break;
--- 1254,1258 ----
                case P7110_NOTE_REMINDER:
                        data->CalendarNote->Type = GCN_REMINDER;
!                       data->CalendarNote->Recurrence = ((((unsigned 
int)block[0]) << 8) + block[1]) * 60;
                        DecodeUnicode(data->CalendarNote->Text, (block + 4), 
block[2]);
                        break;
***************
*** 1445,1453 ****
                        }
                }
!               /* Recurence */
!               if( CalendarNote->Recurence >= 8760 )
!                       CalendarNote->Recurence = 0xffff; /* setting  1 Year 
repeat */
!               req[count++] = CalendarNote->Recurence >> 8;   // 16
!               req[count++] = CalendarNote->Recurence & 0xff; // 17
                /* len of text */
                req[count++] = strlen(CalendarNote->Text);    // 18
--- 1445,1453 ----
                        }
                }
!               /* Recurrence */
!               if( CalendarNote->Recurrence >= 8760 )
!                       CalendarNote->Recurrence = 0xffff; /* setting  1 Year 
repeat */
!               req[count++] = CalendarNote->Recurrence >> 8;   // 16
!               req[count++] = CalendarNote->Recurrence & 0xff; // 17
                /* len of text */
                req[count++] = strlen(CalendarNote->Text);    // 18
***************
*** 1480,1488 ****
                        }
                }
!               /* Recurence */
!               if( CalendarNote->Recurence >= 8760 )
!                       CalendarNote->Recurence = 0xffff; /* setting  1 Year 
repeat */
!               req[count++] = CalendarNote->Recurence >> 8;   // 16
!               req[count++] = CalendarNote->Recurence & 0xff; // 17
                /* len of text */
                req[count++] = strlen(CalendarNote->Text);    // 18
--- 1480,1488 ----
                        }
                }
!               /* Recurrence */
!               if( CalendarNote->Recurrence >= 8760 )
!                       CalendarNote->Recurrence = 0xffff; /* setting  1 Year 
repeat */
!               req[count++] = CalendarNote->Recurrence >> 8;   // 16
!               req[count++] = CalendarNote->Recurrence & 0xff; // 17
                /* len of text */
                req[count++] = strlen(CalendarNote->Text);    // 18
***************
*** 1540,1548 ****
  
        case GCN_REMINDER:
!               /* Recurence */
!               if( CalendarNote->Recurence >= 8760 )
!                       CalendarNote->Recurence = 0xffff; /* setting  1 Year 
repeat */
!               req[count++]=CalendarNote->Recurence >> 8;   // 12
!               req[count++]=CalendarNote->Recurence & 0xff; // 13
                /* len of text */
                req[count++]=strlen(CalendarNote->Text);    // 14
--- 1540,1548 ----
  
        case GCN_REMINDER:
!               /* Recurrence */
!               if( CalendarNote->Recurrence >= 8760 )
!                       CalendarNote->Recurrence = 0xffff; /* setting  1 Year 
repeat */
!               req[count++]=CalendarNote->Recurrence >> 8;   // 12
!               req[count++]=CalendarNote->Recurrence & 0xff; // 13
                /* len of text */
                req[count++]=strlen(CalendarNote->Text);    // 14




reply via email to

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