File: 13-typos.patch

package info (click to toggle)
nvidia-texture-tools 2.0.8-1%2Bdfsg-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,312 kB
  • sloc: cpp: 22,495; ansic: 1,097; sh: 59; makefile: 10
file content (40 lines) | stat: -rw-r--r-- 1,107 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
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
@@ -140,7 +140,7 @@
 	
 	nv::StdOutputStream stream(output);
 	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
@@ -424,7 +424,7 @@
 	MyOutputHandler outputHandler(output);
 	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
@@ -57,7 +57,7 @@
 	
 	nv::StdOutputStream stream(name.str());
 	if (stream.isError()) {
-		printf("Error opening '%s' for writting\n", name.str());
+		printf("Error opening '%s' for writing\n", name.str());
 		return 1;
 	}