summaryrefslogtreecommitdiff
path: root/debian/patches/0170-typo.patch
blob: f84270ac5bc23e35258bd701844b541b7c1f3bc2 (plain)
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
Description: correct some typos in source
Author: Jörg Frings-Fürst <debian@jff-webhosting.net>
Forwarded: not-needed
Last-Update: 2014-10-17
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: trunk/src/xsane-text.h
===================================================================
--- trunk.orig/src/xsane-text.h
+++ trunk/src/xsane-text.h
@@ -854,7 +854,7 @@ The format of [DEVICE] is backendname:de
  -n, --no-mode-selection      disable menu for XSane mode selection\n\
 \n\
  -F, --Fixed                  fixed main window size (overwrite preferences value)\n\
- -R, --Resizeable             resizable, scrolled main window (overwrite preferences value)\n\
+ -R, --Resizable              resizable, scrolled main window (overwrite preferences value)\n\
 \n\
  -p, --print-filenames        print image filenames created by XSane\n\
  -N, --force-filename name    force filename and disable user filename selection\n\
Index: trunk/src/xsane.c
===================================================================
--- trunk.orig/src/xsane.c
+++ trunk/src/xsane.c
@@ -67,7 +67,7 @@ struct option long_options[] =
 #endif
   {"no-mode-selection", no_argument, 0, 'n'},
   {"Fixed", no_argument, 0, 'F'},
-  {"Resizeable", no_argument, 0, 'R'},
+  {"Resizable", no_argument, 0, 'R'},
   {"print-filenames", no_argument, 0, 'p'},
   {"force-filename", required_argument, 0, 'N'},
   {0, }
@@ -2324,7 +2324,7 @@ static RETSIGTYPE xsane_sigchld_handler(
     pid = waitpid(childprocess->pid, &status, WNOHANG);
     if ( (WIFEXITED(status)) && (pid == childprocess->pid) )
     {
-      DBG(DBG_info, "deleteing pid %d from list\n", childprocess->pid);
+      DBG(DBG_info, "deleting pid %d from list\n", childprocess->pid);
 
       nextprocess = childprocess->next;
       free(childprocess); /* free memory of element */
@@ -5787,7 +5787,7 @@ static int xsane_init(int argc, char **a
            xsane.main_window_fixed = 1;
          break;
 
-        case 'R': /* --Resizeable */
+        case 'R': /* --Resizable */
            xsane.main_window_fixed = 0;
          break;
 
Index: trunk/src/xsane-preview.c
===================================================================
--- trunk.orig/src/xsane-preview.c
+++ trunk/src/xsane-preview.c
@@ -7575,7 +7575,7 @@ void preview_display_valid(Preview *p)
   }
   else if ((xsane.medium_changed) || (xsane.xsane_channels != p->preview_channels) || (p->invalid) ) /* preview is not valid */
   {
-    DBG(DBG_info, "preview not vaild\n");
+    DBG(DBG_info, "preview not valid\n");
 
     gtk_widget_show(p->invalid_pixmap);
     gtk_widget_hide(p->scanning_pixmap);
@@ -7593,7 +7593,7 @@ void preview_display_valid(Preview *p)
   }
   else /* preview is valid */
   {
-    DBG(DBG_info, "preview vaild\n");
+    DBG(DBG_info, "preview valid\n");
 
     gtk_widget_show(p->valid_pixmap);
     gtk_widget_hide(p->scanning_pixmap);