File: spelling-errors-take2.patch

package info (click to toggle)
jeolib-jiplib 1.1.5%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,596 kB
  • sloc: cpp: 40,742; python: 2,784; sh: 49; makefile: 21; ansic: 5
file content (40 lines) | stat: -rw-r--r-- 1,339 bytes parent folder | download
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
Description: Fix spelling errors.
 * clould    -> could
Author: Francesco Paolo Lovergine <frankie@debian.org>
Forwarded: https://github.com/ec-jrc/jeolib-jiplib/pull/6
Applied-Upstream: https://github.com/ec-jrc/jeolib-jiplib/commit/4ba7d08d688bbfe15b00591cb0ae5597ce0cc88b
--- a/src/imageclasses/jlpolygonize_lib.cc
+++ b/src/imageclasses/jlpolygonize_lib.cc
@@ -112,7 +112,7 @@
           }
         }
         else{
-          std::string errorString="Error: clould not create memory dataset for mask dataset";
+          std::string errorString="Error: could not create memory dataset for mask dataset";
           throw(errorString);
         }
       }
@@ -165,12 +165,12 @@
         }
       }
       else{
-        std::string errorString="Error: clould not create memory dataset for input dataset";
+        std::string errorString="Error: could not create memory dataset for input dataset";
         throw(errorString);
       }
     }
     else{
-      std::string errorString="Error: clould not create memory driver";
+      std::string errorString="Error: could not create memory driver";
       throw(errorString);
     }
   }
@@ -179,7 +179,7 @@
     throw;
   }
   catch(...){
-    std::cerr << "Error: clould not polygonize" << std::endl;
+    std::cerr << "Error: could not polygonize" << std::endl;
     throw;
   }
 }