File: spelling.patch

package info (click to toggle)
blockout2 2.5%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,240 kB
  • sloc: cpp: 10,786; ansic: 148; makefile: 126
file content (58 lines) | stat: -rw-r--r-- 1,762 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
Author: Reiner Herrmann <reiner@reiner-h.de>
Description: Fix spelling errors found by lintian

--- a/BlockOut/BlockOut.cpp
+++ b/BlockOut/BlockOut.cpp
@@ -38,7 +38,7 @@
 #endif
 {
 
-  // Check environement
+  // Check environment
   if( !CheckEnv() ) {
     return 0;
   }
--- a/BlockOut/Http.cpp
+++ b/BlockOut/Http.cpp
@@ -233,7 +233,7 @@
         sprintf(err_str,"Socket error: Specified protocol is not supported");
         break;
       default:
-        sprintf(err_str,"Socket error: Unknow code:%d",errno);
+        sprintf(err_str,"Socket error: Unknown code:%d",errno);
         break;
     }
 #endif
--- a/BlockOut/Utils.cpp
+++ b/BlockOut/Utils.cpp
@@ -204,7 +204,7 @@
 
   char *homePath = getenv("HOME");
   if( homePath==NULL ) {
-    printf("HOME environement variable if not defined !\n");
+    printf("HOME environment variable if not defined !\n");
     printf("Please set the HOME variable to your home directory (ex: HOME=/users/jeanluc)\n");
     return FALSE;
   }
--- a/BlockOut/README.txt
+++ b/BlockOut/README.txt
@@ -74,7 +74,7 @@
     -Added player/rank name when replaying
     -New punctuation characters added
     -Little effect when rotation is blocked
-    -Fixed "Cannot open blX.bl2replay for writting"
+    -Fixed "Cannot open blX.bl2replay for writing"
     -New style (Marble/Arcade)
     -Fixed crash when pressing [Esc]
     -Pit animation when the game is over
--- a/ImageLib/src/png/hpng.c
+++ b/ImageLib/src/png/hpng.c
@@ -139,7 +139,7 @@
 
    fp = fopen(file_name, "wb");
    if (fp == NULL) {
-  	 sprintf(PngErrorMessage,"Unable to open the file %s for writting",file_name);
+  	 sprintf(PngErrorMessage,"Unable to open the file %s for writing",file_name);
      return PngErrorMessage;
    }