File: Fix-spelling-errors.patch

package info (click to toggle)
s3d 0.2.2.1-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,356 kB
  • sloc: ansic: 21,128; python: 488; perl: 98; makefile: 31; sh: 29
file content (43 lines) | stat: -rw-r--r-- 1,381 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
From: Sven Eckelmann <sven@narfation.org>
Date: Fri, 1 Jan 2016 01:56:02 +0100
Subject: Fix spelling errors

---
 apps/s3d_x11gate/s3d_x11gate.c | 2 +-
 server/main.c                  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/apps/s3d_x11gate/s3d_x11gate.c b/apps/s3d_x11gate/s3d_x11gate.c
index 0ed71fd..bf0a6d5 100644
--- a/apps/s3d_x11gate/s3d_x11gate.c
+++ b/apps/s3d_x11gate/s3d_x11gate.c
@@ -162,7 +162,7 @@ static int keypress(struct s3d_evt *event)
 static int mouseclick(struct s3d_evt *S3DX11UNUSED(event))
 {
 	int i;
-	printf("thats it, collecting:\n");
+	printf("that's it, collecting:\n");
 	for (i = 0; i < 3; i++)
 		printf("[%d] %f\n", i, count[i] / iterations);
 	exit(0);
diff --git a/server/main.c b/server/main.c
index 265e049..1b9ec0e 100644
--- a/server/main.c
+++ b/server/main.c
@@ -81,14 +81,14 @@ int rc_init(void)
 				}
 			}
 		}
-		errs("rc_init()", "no usuable rc script found.");
+		errs("rc_init()", "no usable rc script found.");
 		if (rc == NULL) {
 			errs("rc_init()", "You don't have an rc-script? Think about creating one (~/.s3drc), its handy :)");
 			errs("rc_init()", "Starting anyway ...");
 			while (1)
 				sleep(1);
 		} else {
-			errs("rc_init()", "no usuable rc script found.");
+			errs("rc_init()", "no usable rc script found.");
 			errs("rc_init()", "Check your rc-script!");
 		}
 		exit(1);