File: 1050-typos-in-code.patch

package info (click to toggle)
nbc 1.2.1.r4%2Bdfsg-15
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,708 kB
  • sloc: pascal: 44,583; ansic: 14,747; sh: 22; xml: 18; makefile: 8
file content (51 lines) | stat: -rw-r--r-- 2,217 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Description: Fix typos in code and comment
 Typos discovered by Lintian.
Author: Petter Reinholdtsen <pere@debian.org>
Forwarded: no
Reviewed-By: Petter Reinholdtsen <pere@debian.org>
Last-Update: 2021-10-03

--- nbc-1.2.1.r4+dfsg.orig/NXT/NBCCommon.h
+++ nbc-1.2.1.r4+dfsg/NXT/NBCCommon.h
@@ -2061,7 +2061,7 @@
 /** @} */  // end of CommHiSpeedConstants group
 
 /** @defgroup CommDeviceStatusConstants Device status constants
- * Constants refering to DeviceStatus within DeviceTable
+ * Constants referring to DeviceStatus within DeviceTable
  * @{
  */
 #define BT_DEVICE_EMPTY   0x00 /*!< Bluetooth device table empty */
--- nbc-1.2.1.r4+dfsg.orig/NXT/NXCDefs.h
+++ nbc-1.2.1.r4+dfsg/NXT/NXCDefs.h
@@ -10997,7 +10997,7 @@ inline bool PFMateSendRaw(const byte & p
 /**
  * Read a mindsensors device value.
  * Read a one, two, or four byte value from a mindsensors sensor. The value must be
- * stored with the least signficant byte (LSB) first (i.e., little endian). Returns a boolean value
+ * stored with the least significant byte (LSB) first (i.e., little endian). Returns a boolean value
  * indicating whether or not the operation completed successfully. The port
  * must be configured as a Lowspeed port before using this function.
  *
--- nbc-1.2.1.r4+dfsg.orig/NXT/NXTDefs.h
+++ nbc-1.2.1.r4+dfsg/NXT/NXTDefs.h
@@ -17599,7 +17599,7 @@ __remoteGetInputValues(_conn, _params, _
 /**
  * Read a mindsensors device value.
  * Read a one, two, or four byte value from a mindsensors sensor. The value must be
- * stored with the least signficant byte (LSB) first (i.e., little endian). Returns a boolean value
+ * stored with the least significant byte (LSB) first (i.e., little endian). Returns a boolean value
  * indicating whether or not the operation completed successfully. The port
  * must be configured as a Lowspeed port before using this function.
  *
--- nbc-1.2.1.r4+dfsg.orig/uLocalizedStrings.pas
+++ nbc-1.2.1.r4+dfsg/uLocalizedStrings.pas
@@ -194,7 +194,7 @@ resourcestring
 
 // dlgConfirmReplace
 resourcestring
-  SAskReplaceText = 'Replace this occurence of "%s"?';
+  SAskReplaceText = 'Replace this occurrence of "%s"?';
 
 // DTestPrintPreview
 resourcestring