gnokii-commit
[Top][All Lists]
Advanced

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

[gnokii] 01/02: Fix many spelling errors in comments and strings using c


From: Daniele Forsi
Subject: [gnokii] 01/02: Fix many spelling errors in comments and strings using codespell
Date: Sat, 22 Mar 2014 18:15:09 +0000

dforsi pushed a commit to branch master
in repository gnokii.

commit 0bdc539bd88c3541c8a828265ca6e3b7496e7d5d
Author: Daniele Forsi <address@hidden>
Date:   Sat Mar 22 18:04:04 2014 +0100

    Fix many spelling errors in comments and strings using codespell
    
    See https://github.com/lucasdemarchi/codespell
---
 Docs/Bugs                      |    2 +-
 Docs/FAQ                       |    2 +-
 Docs/KNOWN_BUGS                |    2 +-
 Docs/README-3810               |    2 +-
 Docs/README-6510               |    2 +-
 Docs/README-ericsson           |    2 +-
 Docs/gnokii-IrDA-Linux         |    2 +-
 Docs/gnokii-hackers-howto      |    4 ++--
 Docs/man/gnokii.1              |    2 +-
 Docs/protocol/gnokiid-at.txt   |    2 +-
 Docs/protocol/nk6110.txt       |    2 +-
 Docs/protocol/nk7110.txt       |    2 +-
 Docs/sample/gnokiirc           |    8 ++++----
 Docs/sample/vCalendar/test.vcs |    2 +-
 INSTALL                        |    6 +++---
 MAINTAINERS                    |    2 +-
 common/data/at-emulator.c      |    6 +++---
 common/gsm-api.c               |    2 +-
 common/gsm-encoding.c          |    2 +-
 common/phones/atbosch.c        |    2 +-
 common/phones/atgen.c          |   10 +++++-----
 common/phones/atnok.c          |    2 +-
 common/phones/dc2711.c         |    2 +-
 common/phones/nk2110.c         |    2 +-
 common/phones/nk6100.c         |    2 +-
 common/phones/nk6510.c         |    6 +++---
 common/phones/pcsc.c           |    2 +-
 common/readmidi.c              |    2 +-
 gnokii/gnokii-calendar.c       |    2 +-
 gnokii/gnokii-sms.c            |    2 +-
 gnokii/gnokii-todo.c           |    2 +-
 include/compat.h               |    4 ++--
 include/gnokii/common.h        |    2 +-
 include/gnokii/error.h         |    2 +-
 include/links/atbus.h          |    2 +-
 include/links/fbus.h           |    2 +-
 include/links/m2bus.h          |    2 +-
 include/misc.h                 |    2 +-
 include/phones/nk6510.h        |    2 +-
 include/phones/nk7110.h        |    2 +-
 smsd/README                    |    6 +++---
 smsd/man/smsd.8                |    2 +-
 xgnokii/xgnokii_contacts.h     |    2 +-
 43 files changed, 60 insertions(+), 60 deletions(-)

diff --git a/Docs/Bugs b/Docs/Bugs
index f8edcda..77434fb 100644
--- a/Docs/Bugs
+++ b/Docs/Bugs
@@ -37,7 +37,7 @@ smsd/smsd
 Debug routines are compiled in by default and can be enabled in the
 [logging] section of the configuration file.  To enable the debug output for
 the drivers and for gnokii, set debug = on. To enable the debug output for
-higer level routines of smsd and xgnokii, set xdebug = on.
+higher level routines of smsd and xgnokii, set xdebug = on.
 
   [logging]
   debug = on
diff --git a/Docs/FAQ b/Docs/FAQ
index d6cb7b8..191380f 100644
--- a/Docs/FAQ
+++ b/Docs/FAQ
@@ -163,7 +163,7 @@ A. Make sure that you put in the config file "port = 
com1:", not
 Q. How do I enable debug output?
 
 A. Place the new section in your config file (or update existing section in
-   a similiar way):
+   a similar way):
 
    [logging]
    debug = on
diff --git a/Docs/KNOWN_BUGS b/Docs/KNOWN_BUGS
index 4066aa8..5e89ac3 100644
--- a/Docs/KNOWN_BUGS
+++ b/Docs/KNOWN_BUGS
@@ -20,7 +20,7 @@ It seems to happen only when using xgnokii. If you don't 
intend to do it you
 may try do remove/disable the blacklisting code in nk6510.c driver.
 
 3. Nokia 6310(i) doesn't work well over the DRL3P cable. After few
-successfull connections it stops working. When you power the phone off and
+successful connections it stops working. When you power the phone off and
 on, it works again. Configuration known to be affected:
        model = 6310
        connection = serial
diff --git a/Docs/README-3810 b/Docs/README-3810
index c4aaefa..dbfe5c0 100644
--- a/Docs/README-3810
+++ b/Docs/README-3810
@@ -63,7 +63,7 @@ phones.
   message center number.
   
 - By way of a message in --monitor mode, receive notification 
-  of the following occuring;
+  of the following occurring;
   
   + Incoming call being received, answered and hung up.
   + Outgoing call being made, answered and hung up.
diff --git a/Docs/README-6510 b/Docs/README-6510
index 8a4dde2..8be23e6 100644
--- a/Docs/README-6510
+++ b/Docs/README-6510
@@ -32,7 +32,7 @@ First of all, tested with this driver so far are:
 All Nokia Series40 phones should work with this driver.
 
 Code for the 6510 phones has been tested with DAU-9P and DLR-3P cables and
-IrDA connection. The following conection type values are recommended for the
+IrDA connection. The following connection type values are recommended for the
 various connection media:
 
 -----------------------------------------
diff --git a/Docs/README-ericsson b/Docs/README-ericsson
index db4c221..fd38422 100644
--- a/Docs/README-ericsson
+++ b/Docs/README-ericsson
@@ -17,5 +17,5 @@ AT+CREG=2 should give cellid and operator notifications.
 AT+CPAS=1 gives "phone activity status" (what's that?)
 AT+CFUN=0 turns phone off
 AT+CIND=? gives some status, but I can't set indicators.
-AT+CMEE=2 gives string errors, might be usefull for debugging?
+AT+CMEE=2 gives string errors, might be useful for debugging?
 AT+CCLK="02/04/26,22:20:10" works for setting time
diff --git a/Docs/gnokii-IrDA-Linux b/Docs/gnokii-IrDA-Linux
index dbf3e5c..9c6181c 100644
--- a/Docs/gnokii-IrDA-Linux
+++ b/Docs/gnokii-IrDA-Linux
@@ -144,7 +144,7 @@ gnokii --monitor should now function.
 Possible problems
 =================
 
-- If you are absolutly sure you set up everything fine, you are using a
+- If you are absolutely sure you set up everything fine, you are using a
   FIR driver, your phone can be seen in the discovery log but you are not
   able to use either minicom or gnokii it can be a speed negotiation
   problem between your IrDA stack and your phone. Probably the reason is
diff --git a/Docs/gnokii-hackers-howto b/Docs/gnokii-hackers-howto
index e467cff..c2ceaef 100644
--- a/Docs/gnokii-hackers-howto
+++ b/Docs/gnokii-hackers-howto
@@ -81,7 +81,7 @@ of the phones. The functions within should convert the gnokii 
internal
 structures into the frames (without the header) that can be sent to the
 phone and understood by it. It's obvious that this layer should be phone
 independent. All the phone specific stuff should be done in the phone layer.
-In the case when phone frames are similiar but not the same, the phone layer
+In the case when phone frames are similar but not the same, the phone layer
 can export some help structures to let be the code shared in the middle
 layer. Using the middle layer is optional. Currently almost no code does use
 it. Although it is recommended to use it to avoid the code duplication and
@@ -152,7 +152,7 @@ internally in the statemachine and go to state AnswerReady.
 When the phone code calls sm_get_answer, we pass up the stored answer and
 go back to Initialised.
 
-Note that all of this can, or can not be done as a seperate thread.  For
+Note that all of this can, or can not be done as a separate thread.  For
 now, we will have a gn_sm_loop function (which blocks for a required time and
 returns the current state) so that we can work within one thread.
 
diff --git a/Docs/man/gnokii.1 b/Docs/man/gnokii.1
index e3a9cda..3db9b73 100644
--- a/Docs/man/gnokii.1
+++ b/Docs/man/gnokii.1
@@ -423,7 +423,7 @@ in the input data.
 The raw phonebook format is very simple.  Each line represents one entry.  
Fields
 are separated by semicolons.  Semicolons aren't allowed inside a field.  The
 fields have to be in this order (the subentries are optional, ie. you can
-repeat all subentry field multiple times, but they have to be alltogether in
+repeat all subentry field multiple times, but they have to be altogether in
 the given order):
 .IP "" .5i
 name
diff --git a/Docs/protocol/gnokiid-at.txt b/Docs/protocol/gnokiid-at.txt
index 99a2f59..5a153b2 100644
--- a/Docs/protocol/gnokiid-at.txt
+++ b/Docs/protocol/gnokiid-at.txt
@@ -251,7 +251,7 @@ ATS<r>=<v> Set register <r> to value <v>
         <v>: 0..255
 To enable auto answer use ATS0=<v> where <v> is a number greater than zero;
 use ATS0=0 to disable auto answer.
-Note: when auto answer is enabled phone responds immediatly ignoring the value
+Note: when auto answer is enabled phone responds immediately ignoring the value
 of <v>.
 
 
diff --git a/Docs/protocol/nk6110.txt b/Docs/protocol/nk6110.txt
index 0fc687b..c857313 100644
--- a/Docs/protocol/nk6110.txt
+++ b/Docs/protocol/nk6110.txt
@@ -285,7 +285,7 @@ Correct format is FBUS version 2/Direct IRDA/MBUS version 2
                    xx: 1: family
                        2: VIP
                        4: friends
-                       8: collegues
+                       8: colleagues
                       16: other
          0x09: automatic answer (what number in Nokia 3310 ?)
                xx, 0, 0, 1
diff --git a/Docs/protocol/nk7110.txt b/Docs/protocol/nk7110.txt
index fd1ec2f..245bd04 100644
--- a/Docs/protocol/nk7110.txt
+++ b/Docs/protocol/nk7110.txt
@@ -430,7 +430,7 @@ Correct format is FBUS version 2/MBUS version 2/IrDA
                                                0x08 = Colleagues
                                                0x10 = Others
                                      All logical OR among groups are valid, so 
if you select from one phone's profile
-                                     alert for Friends and Collegues, a 0x0c 
will return (because 0x04 OR 0x08 = 0x0c).
+                                     alert for Friends and Colleagues, a 0x0c 
will return (because 0x04 OR 0x08 = 0x0c).
                                  (*) If Callers==0xff, means "Alert for All 
calls". Then, in this case, you don't
                                      need to read other groups selection.
                             for number2==0x09: (Automatic answer)
diff --git a/Docs/sample/gnokiirc b/Docs/sample/gnokiirc
index fdc19f1..9120cdf 100644
--- a/Docs/sample/gnokiirc
+++ b/Docs/sample/gnokiirc
@@ -23,16 +23,16 @@ port = none
 #
 # With Linux-IrDA you will want to use
 # port = /dev/ircomm0
-# or similiar.
+# or similar.
 #
 # Use this setting also for the Bluetooth connection:
 # port = aa:bb:cc:dd:ee:ff
 # when using it with AT driver set it to:
 # port = /dev/rfcomm0
-# or similiar.
+# or similar.
 #
 # For the Linux USB cables you will need one of the following settings (or
-# similiar)
+# similar)
 # port = /dev/ttyUSB0
 # port = /dev/tts/USB0
 # port = /dev/ttyACM0
@@ -112,7 +112,7 @@ connection = serial
 # connection = bluetooth
 # For infrared connection with phones other than Nokia 6110/6130/6150 use:
 # connection = irda
-# Don't forget to run: 'irattach irda0 -s' or similiar before running gnokii
+# Don't forget to run: 'irattach irda0 -s' or similar before running gnokii
 # For the nk6110 driver only connection=infrared is valid for IrDA.
 # See Docs/gnokii-ir-howto for more detailes on this.
 # For connection with a PC/SC compatible Smart Card reader use:
diff --git a/Docs/sample/vCalendar/test.vcs b/Docs/sample/vCalendar/test.vcs
index 9f6a1d8..4094967 100644
--- a/Docs/sample/vCalendar/test.vcs
+++ b/Docs/sample/vCalendar/test.vcs
@@ -23,7 +23,7 @@ AALARM:20000623T204300
 END:VEVENT
 
 BEGIN:VEVENT:
-CATEGORIES:SPECIAL OCASSION
+CATEGORIES:SPECIAL OCCASION
 SUMMARY:Marcels Birthday
 DTSTART:19790806T031000
 AALARM:20000806T100000
diff --git a/INSTALL b/INSTALL
index b34dcf7..6d9a4bd 100644
--- a/INSTALL
+++ b/INSTALL
@@ -158,7 +158,7 @@ Alternatively, instead of writing these commands you can 
use:
 
 where options are the same as with configure script. Sometimes (it happens
 mainly with libintl and libiconv) some libraries may not be correctly
-recognized. You may want to set enviromental variables to let configure do
+recognized. You may want to set environmental variables to let configure do
 the work. The sample usage would be:
 
     $ CPPFLAGS="-I/usr/local/include -L/usr/local/lib" ./configure \
@@ -212,7 +212,7 @@ Calling
 
     $ make distclean
 
-additionaly cleans all ./configure outputs. After this command you must 
+additionally cleans all ./configure outputs. After this command you must 
 run ./configure again if you need to use any Makefile.
 
 
@@ -236,7 +236,7 @@ Ubuntu hints
 ============
 
 The hints most likely apply against any other Debian-based distribution and
-similiar steps need to be taken for any other distribution. The described
+similar steps need to be taken for any other distribution. The described
 steps were taken on fresh Ubuntu 9.10 installation.
 
 Grab build environment. It will install compiler, most important libraries
diff --git a/MAINTAINERS b/MAINTAINERS
index f7cfad5..ba69c86 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1,4 +1,4 @@
-This file reflect the current gnokii maintainance status. If you have
+This file reflect the current gnokii maintenance status. If you have
 patches for gnokii it would be wise to discuss them with maintainer of the
 certain area on the gnokii-ml.
 
diff --git a/common/data/at-emulator.c b/common/data/at-emulator.c
index c43dbb0..52a1c10 100644
--- a/common/data/at-emulator.c
+++ b/common/data/at-emulator.c
@@ -553,7 +553,7 @@ void        gn_atem_at_parse(char *cmd_buffer)
                        switch (toupper(*buf)) {
                        case 'C':
                                buf++;
-                               /* Returns true if error occured */
+                               /* Returns true if error occurred */
                                if (gn_atem_command_plusc(&buf) == true) {
                                        gn_atem_modem_result(MR_ERROR);
                                        return;
@@ -562,7 +562,7 @@ void        gn_atem_at_parse(char *cmd_buffer)
 
                        case 'G':
                                buf++;
-                               /* Returns true if error occured */
+                               /* Returns true if error occurred */
                                if (gn_atem_command_plusg(&buf) == true) {
                                        gn_atem_modem_result(MR_ERROR);
                                        return;
@@ -578,7 +578,7 @@ void        gn_atem_at_parse(char *cmd_buffer)
                /* # is the precursor to another set of commands */
                case '#':
                        buf++;
-                       /* Returns true if error occured */
+                       /* Returns true if error occurred */
                        if (gn_atem_command_diesis(&buf) == true) {
                                gn_atem_modem_result(MR_ERROR);
                                return;
diff --git a/common/gsm-api.c b/common/gsm-api.c
index 357190a..1a1dc8c 100644
--- a/common/gsm-api.c
+++ b/common/gsm-api.c
@@ -17,7 +17,7 @@
   possible hiding the model specific details.
 
   The underlying code should run in it's own thread to allow communications to
-  the phone to be run independantly of mailing code that calls these API
+  the phone to be run independently of mailing code that calls these API
   functions.
 
   Unless otherwise noted, all functions herein block until they complete.  The
diff --git a/common/gsm-encoding.c b/common/gsm-encoding.c
index 7ab6079..bcf55cc 100644
--- a/common/gsm-encoding.c
+++ b/common/gsm-encoding.c
@@ -204,7 +204,7 @@ void gn_char_set_encoding(const char* encoding)
  * char_mblen:
  * @src: the string to measure
  *
- * Returns: the lenght of the string
+ * Returns: the length of the string
  *
  * Detects the correct length of a string (also for multibyte chars like 
"umlaute").
  */
diff --git a/common/phones/atbosch.c b/common/phones/atbosch.c
index c23884e..17f830e 100644
--- a/common/phones/atbosch.c
+++ b/common/phones/atbosch.c
@@ -93,7 +93,7 @@ void at_bosch_init(char* foundmodel, char* setupmodel, struct 
gn_statemachine *s
        at_insert_send_function(GN_OP_AT_GetCharset, FakeCharset, state);
        at_insert_send_function(GN_OP_AT_SetCharset, FakeCharset, state);
        replygetsms = at_insert_recv_function(GN_OP_GetSMS, ReplyGetSMS, state);
-       /* phone lacks many usefull commands :( */
+       /* phone lacks many useful commands :( */
        at_insert_send_function(GN_OP_GetBatteryLevel, Unsupported, state);
        at_insert_send_function(GN_OP_GetRFLevel, Unsupported, state);
        at_insert_send_function(GN_OP_GetSecurityCodeStatus, Unsupported, 
state);
diff --git a/common/phones/atgen.c b/common/phones/atgen.c
index 4b61d61..81d585d 100644
--- a/common/phones/atgen.c
+++ b/common/phones/atgen.c
@@ -649,7 +649,7 @@ gn_error at_error_get(unsigned char *buffer, struct 
gn_statemachine *state)
  * above problem. but the GSM specification defines the default charset and
  * no "original" charset.
  * so what we do is to ask the phone (after a reset) for its original
- * charset and store the result for future referece. we don't do a full
+ * charset and store the result for future reference. we don't do a full
  * initialization for speed reason. at further processing we can chose
  * a working charset if needed.
  *
@@ -800,7 +800,7 @@ static gn_error AT_SetCharset(gn_data *data, struct 
gn_statemachine *state)
        if (drvinst->charset != AT_CHAR_UNKNOWN)
                return GN_ERR_NONE;
 
-       /* no UCS2 charset found or error occured */
+       /* no UCS2 charset found or error occurred */
        if ((drvinst->availcharsets & AT_CHAR_HEXGSM) && (drvinst->charset != 
AT_CHAR_HEXGSM)) {
                /* try to set HEX charset */
                error = sm_message_send(14, GN_OP_Init, "AT+CSCS=\"HEX\"\r", 
state);
@@ -2261,7 +2261,7 @@ static gn_error ReplyGetRFLevel(int messagetype, unsigned 
char *buffer, int leng
 
        splitlines(&buf);
 
-       if (data->rf_unit && !strncmp(buf.line1, "AT+CSQ", 6)) { /* FIXME realy 
needed? */
+       if (data->rf_unit && !strncmp(buf.line1, "AT+CSQ", 6)) { /* FIXME 
really needed? */
                *(data->rf_unit) = GN_RF_CSQ;
                pos1 = buf.line2 + 6;
                pos2 = strchr(buf.line2, ',');
@@ -2538,7 +2538,7 @@ static gn_error ReplyGetSMS(int messagetype, unsigned 
char *buffer, int length,
 
 /* ReplyGetCharset
  *
- * parses the reponse from a check for the actual charset or the
+ * parses the response from a check for the actual charset or the
  * available charsets. a bracket in the response is taken as a request
  * for available charsets.
  */
@@ -3307,7 +3307,7 @@ static gn_error Initialise(gn_data *setupdata, struct 
gn_statemachine *state)
        /*
         * If there is an initialization script, resetting the device most
         * likely does not make sense.  Either the script resets the device
-        * or resetting might not be good thing after intialization.
+        * or resetting might not be good thing after initialization.
         */
        if (!state->config.connect_script[0]) {
                ret = SoftReset(&data, state);
diff --git a/common/phones/atnok.c b/common/phones/atnok.c
index ec4b97d..b7243e8 100644
--- a/common/phones/atnok.c
+++ b/common/phones/atnok.c
@@ -79,7 +79,7 @@ static gn_error ReplyIncomingSMS(int messagetype, unsigned 
char *buffer, int len
         * <memory> is the memory where the message is stored and can be "ME" 
or "SM".
         * <location> is a place in "MT" memory which consists of "SM" and "ME".
         * order is that "SM" memory goes first, "ME" memory goes second.
-        * So if the memory is "ME" we need to substract from <location> size 
of "SM"
+        * So if the memory is "ME" we need to subtract from <location> size of 
"SM"
         * memory to get the location (we cannot read from "MT" memory
         */
        if (mem == GN_MT_ME) {
diff --git a/common/phones/dc2711.c b/common/phones/dc2711.c
index e5cf30d..1b2ec30 100644
--- a/common/phones/dc2711.c
+++ b/common/phones/dc2711.c
@@ -59,7 +59,7 @@ static gn_error ReplyGetSMSStatus(int type, unsigned char 
*buffer, int length,
 /*
  * FIXME: SMSs are not ready for text mode :-(
  *
- * message looks like this one (stupid and lying advertisment by Eurotel):
+ * message looks like this one (stupid and lying advertisement by Eurotel):
  * +CMGR: "REC READ","999102",,"02/12/20,10:17:57+40"<cr><lf>Prejeme Vam 
vesele Vanoce a stastny novy rok 2003. I v pristim roce muzete ocekavat spoustu 
zajimavych nabidek a prekvapeni od Go Clubu.<cr><lf>
 */
 static gn_error ReplyGetSMS(int type, unsigned char *buffer, int length,
diff --git a/common/phones/nk2110.c b/common/phones/nk2110.c
index 8937159..b7c6fc3 100644
--- a/common/phones/nk2110.c
+++ b/common/phones/nk2110.c
@@ -372,7 +372,7 @@ DecodeIncomingSMS(GSM_SMSMessage *m)
 
        /*
        Originator address is at 15+i,
-          followed by message center addres (?)
+          followed by message center address (?)
        */
        {
                char *s = (char *) &SMSData[15+i];      /* We discard volatile. 
Make compiler quiet. */
diff --git a/common/phones/nk6100.c b/common/phones/nk6100.c
index b4b9e49..8251882 100644
--- a/common/phones/nk6100.c
+++ b/common/phones/nk6100.c
@@ -1789,7 +1789,7 @@ static gn_error IncomingSMS(int messagetype, unsigned 
char *message, int length,
                        return GN_ERR_UNHANDLEDFRAME;
                }
 
-       /* sms status succeded */
+       /* sms status succeeded */
        case 0x37:
                dprintf("Message: SMS Status Received\n");
                dprintf("\tThe number of messages: %d\n", message[10]);
diff --git a/common/phones/nk6510.c b/common/phones/nk6510.c
index 59f4ada..34411bb 100644
--- a/common/phones/nk6510.c
+++ b/common/phones/nk6510.c
@@ -1001,7 +1001,7 @@ static gn_error NK6510_IncomingFolder(int messagetype, 
unsigned char *message, i
        /* getfolderstatus */
        case 0x0b:
                /*
-                * Reponse:
+                * Response:
                 * 01 78 00 0b 00 00 01 00 00 00
                 * apparently means "empty folder"
                 */
@@ -1116,7 +1116,7 @@ static gn_error NK6510_IncomingFolder(int messagetype, 
unsigned char *message, i
                        dprintf("SMS Folder successfully deleted!\n");
                        break;
                case 0x68:
-                       dprintf("SMS Folder could not be deleted! Not 
existant?\n");
+                       dprintf("SMS Folder could not be deleted! Not 
existent?\n");
                        return GN_ERR_INVALIDLOCATION;
                case 0x6b:
                        dprintf("SMS Folder could not be deleted! Not 
empty?\n");
@@ -3268,7 +3268,7 @@ reply: 0x19 / 0x0012
                case NK6510_SUBCLO_GMT_UPD_RCVD:
                        /* This is a signed value that shows the nominal 
adjustment, eg. if current time is 16:31:25, the phone UI allows
                           you to advance the GMT 1 hour to 17:31, the number 
of seconds is 3600) */
-                       /* Same length as subtype 0x05 but date is zeroed and 
number of seconds has a different endianess!!! */
+                       /* Same length as subtype 0x05 but date is zeroed and 
number of seconds has a different endianness!!! */
                        dprintf("Date/Time adjusted by %d seconds\n", 
(((((message[25] << 8) + message[24]) << 8) + message[23]) << 8) + message[22]);
                        break;
                case NK6510_SUBCLO_DATE_UPD_RCVD:
diff --git a/common/phones/pcsc.c b/common/phones/pcsc.c
index 1af72c2..2ae3d51 100644
--- a/common/phones/pcsc.c
+++ b/common/phones/pcsc.c
@@ -144,7 +144,7 @@ static gn_error ios2gn_error(PCSC_IOSTRUCT *ios)
                return GN_ERR_NONE;
        case 0x92: /* 9.4.3 Memory management */
                if (ios->pbRecvBuffer[ios->dwReceived - 1] < 16) {
-                       dprintf("WARNING: command succeded after %d retries\n", 
ios->pbRecvBuffer[ios->dwReceived - 1]);
+                       dprintf("WARNING: command succeeded after %d 
retries\n", ios->pbRecvBuffer[ios->dwReceived - 1]);
                        return GN_ERR_NONE;
                } else {
                        return GN_ERR_FAILED;
diff --git a/common/readmidi.c b/common/readmidi.c
index c9ef71d..5b92d26 100644
--- a/common/readmidi.c
+++ b/common/readmidi.c
@@ -634,7 +634,7 @@ static void biggermsg(struct MF *mf)
  *             bits 14 through 0 represent the number of delta-time
  *             "ticks" which make up a quarter note.  If bit  15 of
  *             division  is  a one, delta-times in a file correspond to
- *             subdivisions of a second similiar to  SMPTE  and  MIDI
+ *             subdivisions of a second similar to  SMPTE  and  MIDI
  *             time code.  In  this format bits 14 through 8 contain
  *             one of four values - 24, -25, -29, or -30,
  *             corresponding  to  the  four standard  SMPTE and MIDI
diff --git a/gnokii/gnokii-calendar.c b/gnokii/gnokii-calendar.c
index 130e7e4..e32bf76 100644
--- a/gnokii/gnokii-calendar.c
+++ b/gnokii/gnokii-calendar.c
@@ -277,7 +277,7 @@ gn_error writecalendarnote(int argc, char *argv[], gn_data 
*data, struct gn_stat
                }
 #endif
                if (error != GN_ERR_NONE) {
-                       /* when reading until 'end' it's not an error if it 
tried to read a non existant note */
+                       /* when reading until 'end' it's not an error if it 
tried to read a non existent note */
                        if ((last_location == INT_MAX) && (error == 
GN_ERR_EMPTYLOCATION)) {
                                error = GN_ERR_NONE;
                        } else {
diff --git a/gnokii/gnokii-sms.c b/gnokii/gnokii-sms.c
index d11da8b..7beef87 100644
--- a/gnokii/gnokii-sms.c
+++ b/gnokii/gnokii-sms.c
@@ -314,7 +314,7 @@ gn_error sendsms(int argc, char *argv[], gn_data *data, 
struct gn_statemachine *
                }
                free(data->message_center);
        }
-       /* Either GN_OP_GetSMSCenter failed or it succeded and read an empty 
number */
+       /* Either GN_OP_GetSMSCenter failed or it succeeded and read an empty 
number */
        if (!sms.smsc.number[0]) {
                fprintf(stderr, _("Cannot read the SMSC number from your phone. 
If the sms send will fail, please use --smsc option explicitly giving the 
number.\n"));
        }
diff --git a/gnokii/gnokii-todo.c b/gnokii/gnokii-todo.c
index 9b2a99b..7405086 100644
--- a/gnokii/gnokii-todo.c
+++ b/gnokii/gnokii-todo.c
@@ -183,7 +183,7 @@ gn_error writetodo(int argc, char *argv[], gn_data *data, 
struct gn_statemachine
                }
 #endif
                if (error != GN_ERR_NONE) {
-                       /* when reading until 'end' it's not an error if it 
tried to read a non existant note */
+                       /* when reading until 'end' it's not an error if it 
tried to read a non existent note */
                        if ((last_location == INT_MAX) && (error == 
GN_ERR_EMPTYLOCATION)) {
                                error = GN_ERR_NONE;
                        } else {
diff --git a/include/compat.h b/include/compat.h
index 529a797..009f5f0 100644
--- a/include/compat.h
+++ b/include/compat.h
@@ -109,7 +109,7 @@
  * the GNOKIIDLL_EXPORTS symbol defined on the command line. this symbol should
  * not be defined on any project that uses this DLL. This way any other project
  * whose source files include this file see API functions as being imported
- * from a DLL, wheras this DLL sees symbols defined with this macro as being
+ * from a DLL, whereas this DLL sees symbols defined with this macro as being
  * exported.
  */
 #if defined(WIN32)
@@ -267,7 +267,7 @@ time_t timegm(struct tm *tm);
        typedef unsigned int u32;
 #endif
 
-/* for Linux Bluetooth compability */
+/* for Linux Bluetooth compatibility */
 #if !defined(HAVE_STDINT_H) && !defined(HAVE_INTTYPES_H)
        typedef unsigned char uint8_t;
        typedef unsigned short uint16_t;
diff --git a/include/gnokii/common.h b/include/gnokii/common.h
index fc6bf2f..5aaa254 100644
--- a/include/gnokii/common.h
+++ b/include/gnokii/common.h
@@ -531,7 +531,7 @@ typedef struct {
 } gn_wap_setting;
 
 /* This structure is provided to allow common information about the particular
-   model to be looked up in a model independant way. Some of the values here
+   model to be looked up in a model independent way. Some of the values here
    define minimum and maximum levels for values retrieved by the various Get
    functions for example battery level. They are not defined as constants to
    allow model specific code to set them during initialisation */
diff --git a/include/gnokii/error.h b/include/gnokii/error.h
index 9caac9d..7427f1e 100644
--- a/include/gnokii/error.h
+++ b/include/gnokii/error.h
@@ -26,7 +26,7 @@ typedef enum {
        GN_ERR_FAILED,                  /* Command failed. */
        GN_ERR_UNKNOWNMODEL,            /* Model specified isn't 
known/supported. */
        GN_ERR_INVALIDSECURITYCODE,     /* Invalid Security code. */
-       GN_ERR_INTERNALERROR,           /* Problem occured internal to model 
specific code. */
+       GN_ERR_INTERNALERROR,           /* Problem occurred internal to model 
specific code. */
        GN_ERR_NOTIMPLEMENTED,          /* Command called isn't implemented in 
model. */
        GN_ERR_NOTSUPPORTED,            /* Function not supported by the phone 
*/
        GN_ERR_USERCANCELED,            /* User aborted the action. */
diff --git a/include/links/atbus.h b/include/links/atbus.h
index d28c904..8d87d32 100644
--- a/include/links/atbus.h
+++ b/include/links/atbus.h
@@ -26,7 +26,7 @@ gn_error atbus_initialise(int mode, struct gn_statemachine 
*state);
 typedef enum {
        GN_AT_NONE,             /* NO or unknown result code */
        GN_AT_PROMPT,           /* SMS command waiting for input */
-       GN_AT_OK,               /* Command succeded */
+       GN_AT_OK,               /* Command succeeded */
        GN_AT_ERROR,            /* Command failed */
        GN_AT_CMS,              /* SMS Command failed */
        GN_AT_CME,              /* Extended error code found */
diff --git a/include/links/fbus.h b/include/links/fbus.h
index 3a4abf4..35fd184 100644
--- a/include/links/fbus.h
+++ b/include/links/fbus.h
@@ -36,7 +36,7 @@
 #define FBUS_CONTENT_MAX_LENGTH  120
 
 /* This byte is at the beginning of all GSM Frames sent over FBUS to Nokia
-   phones.  This may have to become a phone dependant parameter... */
+   phones.  This may have to become a phone dependent parameter... */
 #define FBUS_FRAME_ID 0x1e
 
 /* This byte is at the beginning of all GSM Frames sent over IR to Nokia 
phones. */
diff --git a/include/links/m2bus.h b/include/links/m2bus.h
index 8486552..72e1f05 100644
--- a/include/links/m2bus.h
+++ b/include/links/m2bus.h
@@ -30,7 +30,7 @@
 #endif
 
 /* This byte is at the beginning of all GSM Frames sent over M2BUS to Nokia
-   phones.  This may have to become a phone dependant parameter... */
+   phones.  This may have to become a phone dependent parameter... */
 #define M2BUS_FRAME_ID 0x1f
 
 /* This byte is at the beginning of all GSM Frames sent over IR to Nokia 
phones. */
diff --git a/include/misc.h b/include/misc.h
index 2bbe2c1..b416bb6 100644
--- a/include/misc.h
+++ b/include/misc.h
@@ -56,7 +56,7 @@
 #define gvasprintf             vasprintf
 
 /* This is for the bitmaps mostly, but may be useful also for the other
- * things. Counts how many octets we need to cover the given ammount of
+ * things. Counts how many octets we need to cover the given amount of
  * the bits.
  */
 #define ceiling_to_octet(x) ((x) + 7) / 8
diff --git a/include/phones/nk6510.h b/include/phones/nk6510.h
index 2851bca..f516a61 100644
--- a/include/phones/nk6510.h
+++ b/include/phones/nk6510.h
@@ -171,7 +171,7 @@
 /* Entry Types for the enhanced phonebook */
 #define NK6510_ENTRYTYPE_POINTER       0x1a    /* Pointer to other memory */
 #define NK6510_ENTRYTYPE_NAME          0x07    /* Name always the only one */
-#define NK6510_ENTRYTYPE_EMAIL         0x08    /* Email Adress (TEXT) */
+#define NK6510_ENTRYTYPE_EMAIL         0x08    /* Email Address (TEXT) */
 #define NK6510_ENTRYTYPE_POSTAL                0x09    /* Postal Address 
(Text) */
 #define NK6510_ENTRYTYPE_NOTE          0x0a    /* Note (Text) */
 #define NK6510_ENTRYTYPE_NUMBER                0x0b    /* Phonenumber */
diff --git a/include/phones/nk7110.h b/include/phones/nk7110.h
index 5e1c73c..e012933 100644
--- a/include/phones/nk7110.h
+++ b/include/phones/nk7110.h
@@ -157,7 +157,7 @@ typedef enum {
 /* Entry Types for the enhanced phonebook */
 #define NK7110_ENTRYTYPE_POINTER       0x04    /* Pointer to other memory */
 #define NK7110_ENTRYTYPE_NAME          0x07    /* Name always the only one */
-#define NK7110_ENTRYTYPE_EMAIL         0x08    /* Email Adress (TEXT) */
+#define NK7110_ENTRYTYPE_EMAIL         0x08    /* Email Address (TEXT) */
 #define NK7110_ENTRYTYPE_POSTAL                0x09    /* Postal Address 
(Text) */
 #define NK7110_ENTRYTYPE_NOTE          0x0a    /* Note (Text) */
 #define NK7110_ENTRYTYPE_NUMBER                0x0b    /* Phonenumber */
diff --git a/smsd/README b/smsd/README
index e4fcd24..eaa27be 100644
--- a/smsd/README
+++ b/smsd/README
@@ -78,7 +78,7 @@ THE FILE MODULE
 This module doesn't need an SQL server to work. For incoming messages it
 work in a way that it calls a program giving phone number, date as parameter
 and the message text on stdin. In the smsd directory there is as example file
-action. It shows sms data to stdout. If you want something usefull you must
+action. It shows sms data to stdout. If you want something useful you must
 write your own action.
 For outgoing messages you can set spool directory where smsd looks
 regularly.
@@ -91,7 +91,7 @@ number
 text
 
 The name of file is unimportant but smsd ignores all files with prefix
-"ERR.". If smsd succesfuly sends sms, it removes file from spool directory.
+"ERR.". If smsd successfully sends sms, it removes file from spool directory.
 If smsd cannot sends sms prepend file with "ERR." prefix and ignores it.
 
 If you use -m file, -u (--user) and -c (--host) will have other meaning.
@@ -204,7 +204,7 @@ Options:
 
 -0, --firstpos0
        SMSD starts messages reading from position 1. If your phone stores
-       sms's from postion 0, use this option.
+       sms's from position 0, use this option.
 
 -v, --version
        Shows smsd version.
diff --git a/smsd/man/smsd.8 b/smsd/man/smsd.8
index bb7172f..5b6685d 100644
--- a/smsd/man/smsd.8
+++ b/smsd/man/smsd.8
@@ -286,7 +286,7 @@ Use gnokii \-\-showsmsfolderstatus for a list of such 
memory types.
 .TP
 .BR -0,\ --firstpos0
 SMSD starts messages reading from position 1. If your phone stores sms's 
-from postion 0, use this option.
+from position 0, use this option.
 
 .TP
 .BR -v,\ --version
diff --git a/xgnokii/xgnokii_contacts.h b/xgnokii/xgnokii_contacts.h
index a80553f..34bb923 100644
--- a/xgnokii/xgnokii_contacts.h
+++ b/xgnokii/xgnokii_contacts.h
@@ -25,7 +25,7 @@
 /* Structure to keep memory status information */
 typedef struct {
        int MaxME;              /* Maximum Phone memory entries. */
-       int UsedME;             /* Actualy used Phone memory entries. */
+       int UsedME;             /* Actually used Phone memory entries. */
        int FreeME;             /* FreeME = MaxME - UsedME */
        int MaxSM;              /* Maximum SIM memory entries. */
        int UsedSM;



reply via email to

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