File: spelling-fixes.diff

package info (click to toggle)
mgp 1.13a%2Bupstream20090219-14
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 4,196 kB
  • sloc: ansic: 32,387; sh: 4,286; lisp: 1,405; yacc: 945; lex: 264; makefile: 158; perl: 117; awk: 9
file content (92 lines) | stat: -rw-r--r-- 3,203 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
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
# DP: spelling fixes, from lintian

--- a/RELNOTES
+++ b/RELNOTES
@@ -20,7 +20,7 @@
 
 * add -zoomonclk option for newimage
 
-* allow to handle gif format images by default 
+* allow one to handle gif format images by default
 
 * many bug fixes
 
@@ -39,7 +39,7 @@ from its infancy. Magicpoint could not e
 
 * add -rotate option for newimage
 
-* allow to use non-ASCI filename in slides (use -U to enable this feature)
+* allow one to use non-ASCI filename in slides (use -U to enable this feature)
 
 * many bug fixes
 
--- a/draw.c
+++ b/draw.c
@@ -5445,7 +5445,7 @@ xft_setfont(xfontarg, csize, registry)
 		 * with the style expression.
 		 */
 		p2 = p + 1;
-		/* allow to use ":style=" syntax */
+		/* allow using ":style=" syntax */
 		if ((strstr(p2, "style=") != NULL) || (strstr(p2, "STYLE=") != NULL)) 
 			p2 += 6;
 		*p = '\0';
--- a/image/compress.c
+++ b/image/compress.c
@@ -145,7 +145,7 @@ void compress_colormap(image, verbose)
   }
   if (verbose) {
     if ((rgb.used == image->rgb.used) && !badcount)
-      fprintf(stderr, "no improvment\n");
+      fprintf(stderr, "no improvement\n");
     else {
       int unused= image->rgb.used - rgb.used - dupcount;
       if (dupcount)
--- a/mgp.c
+++ b/mgp.c
@@ -516,7 +516,7 @@ genhtml(start_page)
 				break;
 		}
 		if (*convdb[inum] == NULL) {
-			fprintf(stderr, "unknwon image type %s.\n", htmlimage);
+			fprintf(stderr, "unknown image type %s.\n", htmlimage);
 			/* print out valid image types */
 			fprintf(stderr, "Valid image types: ");
 			for (inum = 0; *convdb[inum] != 0; inum++) {
@@ -747,7 +747,7 @@ mgp_usage(name)
 	fprintf(stderr, "\t-Q <quality>: Set background image quality(0-100)\n");
 	fprintf(stderr, "\t-R: Do not perform automatic reload\n");
 	fprintf(stderr, "\t-S: Do not process directives that forks process (default)\n");
-	fprintf(stderr, "\t-U: Do process directives that forks process\n\t    or allow to use non-ASCII filenames (unsecure mode)\n");
+	fprintf(stderr, "\t-U: Do process directives that forks process\n\t    or allow one to use non-ASCII filenames (unsecure mode)\n");
 	fprintf(stderr, "\t-T <timestampfile>: Update timestampfile on page refresh\n");
 	fprintf(stderr, "\t-P: print stderr from image conversion tools (by default it's discarded)\n");
 	fprintf(stderr, "\t-V: Be verbose\n");
--- a/mgp.man
+++ b/mgp.man
@@ -249,7 +249,7 @@ This is enabled by default.
 .It Fl U
 Be unsecure.
 Enable directives that fork/exec the child process.
-Allow to use non-ASCII filename.
+Allow one to use non-ASCII filename.
 .It Fl T Ar timestampfile
 If the option is specified,
 .Nm
@@ -353,7 +353,7 @@ completes.
 .Nm
 will look at a file named
 .Pa ~/.mgprc
-in your home directory. The path to this file can be overriden with the
+in your home directory. The path to this file can be overridden with the
 environment variable MGPRC.
 The content of the file must be a limited set of magicpoint directives,
 one directive per line, without 
@@ -382,6 +382,7 @@ is searched.
 .Bl -tag -width indent
 .It MGPRC
 Full path of the configuration file. When unset, ~/.mgprc is used.
+.El
 .\"
 .Sh SECURITY ISSUES
 The presentation file can include directives to call the external process,