File: 13-typos.patch

package info (click to toggle)
nvidia-texture-tools 2.1.0-git20160229%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 4,016 kB
  • sloc: cpp: 43,200; ansic: 22,635; sh: 67; makefile: 14
file content (40 lines) | stat: -rw-r--r-- 1,316 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
Title: Spelling mistake
DEP: 3
Last-Update: 2015-11-30
Forwarded: not-needed
Description:
 Lintian is quite pedantic about spelling mistakes

--- a/src/nvtt/tools/assemble.cpp
+++ b/src/nvtt/tools/assemble.cpp
@@ -144,7 +144,7 @@ int main(int argc, char *argv[])
 	
 	nv::StdOutputStream stream(output.str());
 	if (stream.isError()) {
-		printf("Error opening '%s' for writting\n", output.str());
+		printf("Error opening '%s' for writing\n", output.str());
 		return 1;
 	}
 	
--- a/src/nvtt/tools/compress.cpp
+++ b/src/nvtt/tools/compress.cpp
@@ -684,7 +684,7 @@ int main(int argc, char *argv[])
     MyOutputHandler outputHandler(output.str());
     if (outputHandler.stream->isError())
     {
-        fprintf(stderr, "Error opening '%s' for writting\n", output.str());
+        fprintf(stderr, "Error opening '%s' for writing\n", output.str());
         return EXIT_FAILURE;
     }
 
--- a/src/nvtt/tools/decompress.cpp
+++ b/src/nvtt/tools/decompress.cpp
@@ -229,7 +229,7 @@ int main(int argc, char *argv[])
     			
 			    nv::StdOutputStream stream(name.str());
 			    if (stream.isError()) {
-				    fprintf(stderr, "Error opening '%s' for writting\n", name.str());
+				    fprintf(stderr, "Error opening '%s' for writing\n", name.str());
 				    return 1;
 			    }