File: fix-spelling-mistakes-caught-by-lintian.patch

package info (click to toggle)
fceux 2.3.0%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 8,904 kB
  • sloc: cpp: 108,328; ansic: 10,341; sh: 3,386; python: 424; pascal: 391; perl: 82; makefile: 70; lisp: 60
file content (96 lines) | stat: -rw-r--r-- 3,875 bytes parent folder | download | duplicates (2)
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
From: Joseph Nahmias <jello@debian.org>
Date: Sun, 17 Jan 2021 23:20:38 -0500
Subject: fix spelling mistakes caught by lintian

---
 fceux-server/server.cpp             | 4 ++--
 src/drivers/Qt/HexEditor.cpp        | 2 +-
 src/drivers/Qt/iNesHeaderEditor.cpp | 4 ++--
 src/drivers/common/configSys.cpp    | 2 +-
 src/fds.cpp                         | 4 ++--
 5 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/fceux-server/server.cpp b/fceux-server/server.cpp
index 76c90b9..9e5ef9a 100644
--- a/fceux-server/server.cpp
+++ b/fceux-server/server.cpp
@@ -753,7 +753,7 @@ int main(int argc, char *argv[])
 			i++;
 			if(argc == i)
 			{
-				printf("Please specify the maximium ammount of clients.\n");
+				printf("Please specify the maximium amount of clients.\n");
 				return -1;
 			}
 			ServerConfig.MaxClients = atoi(argv[i]);
@@ -764,7 +764,7 @@ int main(int argc, char *argv[])
 			i++;
 			if(argc == i)
 			{
-				printf("Please specify the conenction timeout time in seconds.\n");
+				printf("Please specify the connection timeout time in seconds.\n");
 				return -1;
 			}
 			ServerConfig.ConnectTimeout = atoi(argv[i]);
diff --git a/src/drivers/Qt/HexEditor.cpp b/src/drivers/Qt/HexEditor.cpp
index 8f078ac..90b8cd0 100644
--- a/src/drivers/Qt/HexEditor.cpp
+++ b/src/drivers/Qt/HexEditor.cpp
@@ -888,7 +888,7 @@ HexEditorDialog_t::HexEditorDialog_t(QWidget *parent)
 	fileMenu->addAction(saveROM);
 
 	// File -> Goto Address
-	gotoAddrAct = new QAction(tr("Goto Addresss"), this);
+	gotoAddrAct = new QAction(tr("Goto Address"), this);
 	gotoAddrAct->setShortcut(QKeySequence(tr("Ctrl+A")));
 	gotoAddrAct->setStatusTip(tr("Goto Address"));
 	connect(gotoAddrAct, SIGNAL(triggered()), this, SLOT(openGotoAddrDialog(void)) );
diff --git a/src/drivers/Qt/iNesHeaderEditor.cpp b/src/drivers/Qt/iNesHeaderEditor.cpp
index f01485f..4cb715d 100644
--- a/src/drivers/Qt/iNesHeaderEditor.cpp
+++ b/src/drivers/Qt/iNesHeaderEditor.cpp
@@ -1885,12 +1885,12 @@ bool iNesHeaderEditor_t::WriteHeaderData(iNES_HEADER* header)
 		int misc_roms = 0;
 		if (sscanf(buf, "%d", &misc_roms) < 1)
 		{
-			showErrorMsgWindow("Invalid miscellanous ROM(s) count. If you don't know what value should be, we recommend to set it to 0.");
+			showErrorMsgWindow("Invalid miscellaneous ROM(s) count. If you don't know what value should be, we recommend to set it to 0.");
 			return false;
 		}
 		if (misc_roms > 3)
 		{
-			showErrorMsgWindow("Miscellanous ROM(s) count has exceeded the limit of iNES 2.0 (3)");
+			showErrorMsgWindow("Miscellaneous ROM(s) count has exceeded the limit of iNES 2.0 (3)");
 			return false;
 		}
 		_header.reserved[0] |= misc_roms & 3;
diff --git a/src/drivers/common/configSys.cpp b/src/drivers/common/configSys.cpp
index 44fec78..02d7dfd 100644
--- a/src/drivers/common/configSys.cpp
+++ b/src/drivers/common/configSys.cpp
@@ -576,7 +576,7 @@ Config::parse(int argc,
 						
 			// TODO  0 = good -1 = bad
 			std::string fname = cfgd_dir_name + dir->d_name;
-			printf("Loading auxilary configuration file at %s...\n", fname.c_str());
+			printf("Loading auxiliary configuration file at %s...\n", fname.c_str());
 			if (_loadFile(fname.c_str()) != 0)
 			{
 				printf("Failed to parse configuration at %s\n", fname.c_str());
diff --git a/src/fds.cpp b/src/fds.cpp
index 792b855..9586921 100644
--- a/src/fds.cpp
+++ b/src/fds.cpp
@@ -860,10 +860,10 @@ int FDSLoad(const char *name, FCEUFILE *fp) {
 		}
 
 		if ((tp = FCEU_fopen(fn, 0, "rb", 0))) {
-			FCEU_printf("Disk was written. Auxillary FDS file open \"%s\".\n",fn);
+			FCEU_printf("Disk was written. Auxiliary FDS file open \"%s\".\n",fn);
 			FreeFDSMemory();
 			if (SubLoad(tp)) {
-				FCEU_PrintError("Error reading auxillary FDS file.");
+				FCEU_PrintError("Error reading auxiliary FDS file.");
 				if(FDSBIOS)
 					free(FDSBIOS);
 				FDSBIOS = NULL;