summaryrefslogtreecommitdiff
path: root/debian/patches/0005-Spelling-fixes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0005-Spelling-fixes.patch')
-rw-r--r--debian/patches/0005-Spelling-fixes.patch141
1 files changed, 141 insertions, 0 deletions
diff --git a/debian/patches/0005-Spelling-fixes.patch b/debian/patches/0005-Spelling-fixes.patch
new file mode 100644
index 0000000..224ca20
--- /dev/null
+++ b/debian/patches/0005-Spelling-fixes.patch
@@ -0,0 +1,141 @@
+From: Ruben Undheim <ruben.undheim@gmail.com>
+Date: Thu, 1 Nov 2018 22:24:54 +0100
+Subject: Spelling fixes
+
+---
+ README.Tcl | 2 +-
+ files.c | 2 +-
+ lib/xcircuit.1.in | 6 +++---
+ netlist.c | 2 +-
+ ngspice.c | 4 ++--
+ undo.c | 4 ++--
+ xcircuit.c | 2 +-
+ 7 files changed, 11 insertions(+), 11 deletions(-)
+
+diff --git a/README.Tcl b/README.Tcl
+index 9a78bc7..1e4947b 100644
+--- a/README.Tcl
++++ b/README.Tcl
+@@ -14,7 +14,7 @@ A. Elements: Main command to create and manipulate objects. "element" is
+ <handle> can also be the keyword "selected", in which case it
+ implies all selected elements. The <handle> is represented as a
+ new Tcl type called "handle", and has an "H" followed by an 8-digit
+- hexidecimal number. This distinguishes it from integers and
++ hexadecimal number. This distinguishes it from integers and
+ allows the command line to be parsed correctly. It also discourages
+ the practice of manipulating handles, as arithmetic cannot be
+ performed directly on handle types.
+diff --git a/files.c b/files.c
+index 5678ec7..415fddb 100644
+--- a/files.c
++++ b/files.c
+@@ -2682,7 +2682,7 @@ void readlabel(objectptr localdata, char *lineptr, stringpart **strhead)
+ }
+ /* To-do: replace old-style backspace with tab stop */
+ else if (!strcmp(cmdptr, "bs")) {
+- Wprintf("Warning: Obsolete backspace command ommitted in text");
++ Wprintf("Warning: Obsolete backspace command omitted in text");
+ }
+ else if (!strcmp(cmdptr, "Kn")) { /* "Kern" command */
+ int kx, ky;
+diff --git a/lib/xcircuit.1.in b/lib/xcircuit.1.in
+index d579905..e194a0d 100644
+--- a/lib/xcircuit.1.in
++++ b/lib/xcircuit.1.in
+@@ -135,7 +135,7 @@ The snap-to grid is an all-important feature for circuit drawing,
+ wherein it is critical that elements line up properly with one another.
+ In \fIxcircuit\fP, there is no way to get off the snap-to grid except by
+ turning the snap function off and physically pushing elements off
+-the grid. Generally, it is most convenient to leave the snap functon
++the grid. Generally, it is most convenient to leave the snap function
+ on and use key macros "+" and "-" to double/halve it as necessary.
+ In any case, objects can always be returned to the snap grid with
+ the "snap" function (key macro "S").
+@@ -265,7 +265,7 @@ Print a help page summary of commands
+ .B a
+ Arc. Center is fixed at the initial position of the cursor.
+ The mouse position changes the radius of the circle.
+-In snap-to mode the arc boundry will pass through the snap point
++In snap-to mode the arc boundary will pass through the snap point
+ closest to the cursor. Mouse button 1 cycles from controlling
+ the radius to controlling the starting point, the ending point,
+ and separately controlling the minor axis to create ellipse.
+@@ -632,7 +632,7 @@ necessary to implement them cause slow rendering on
+ a printer or PostScript previewer. Due to the
+ device-dependent nature of the routines, patterns
+ will look abnormally large on PostScript previewers.
+-This transparancy feature has been added with the
++This transparency feature has been added with the
+ expectation that most circuit schematics will not
+ rely heavily upon halftoning. Complicated color
+ patterns can be created using transparent colored,
+diff --git a/netlist.c b/netlist.c
+index e573959..e8c09e8 100644
+--- a/netlist.c
++++ b/netlist.c
+@@ -6063,7 +6063,7 @@ void freepcb(struct Ptab *ptable)
+ /*----------------------------------------------------------------------*/
+ /* Remove an element from the netlist. This is necessary when an */
+ /* element is deleted from the object, so that the netlist does not */
+-/* refer to a nonexistant element, or try to perform netlist function */
++/* refer to a nonexistent element, or try to perform netlist function */
+ /* on it. */
+ /* */
+ /* Return True or False depending on whether a pin was "orphaned" on */
+diff --git a/ngspice.c b/ngspice.c
+index 5efcf33..3c43ba0 100644
+--- a/ngspice.c
++++ b/ngspice.c
+@@ -503,7 +503,7 @@ int xctcl_spice(ClientData clientData, Tcl_Interp *interp,
+
+ case RunIdx:
+ if (spice_state != SPICE_READY) {
+- Tcl_SetResult(interp, "Spice process busy or nonexistant", NULL);
++ Tcl_SetResult(interp, "Spice process busy or nonexistent", NULL);
+ return TCL_ERROR;
+ }
+
+@@ -633,7 +633,7 @@ process_result:
+
+ case ResumeIdx:
+ if (spice_state != SPICE_READY) {
+- Tcl_SetResult(interp, "Spice process busy or nonexistant", NULL);
++ Tcl_SetResult(interp, "Spice process busy or nonexistent", NULL);
+ return TCL_ERROR;
+ }
+ resume_spice();
+diff --git a/undo.c b/undo.c
+index 67fa1da..4e34470 100644
+--- a/undo.c
++++ b/undo.c
+@@ -709,7 +709,7 @@ short undo_one_action()
+
+ /* Set window, if event occurred in a different window */
+ if (setwindow(thisrecord->window) == FALSE) {
+- Wprintf("Error: Undo event in nonexistant window! Flushing stack.\n");
++ Wprintf("Error: Undo event in nonexistent window! Flushing stack.\n");
+ flush_undo_stack();
+ return 0;
+ }
+@@ -1185,7 +1185,7 @@ short redo_one_action()
+
+ /* Set window, if event occurred in a different window */
+ if (setwindow(thisrecord->window) == FALSE) {
+- Wprintf("Error: Undo event in nonexistant window! Flushing stack.\n");
++ Wprintf("Error: Undo event in nonexistent window! Flushing stack.\n");
+ flush_undo_stack();
+ return 0;
+ }
+diff --git a/xcircuit.c b/xcircuit.c
+index c7cfe73..f59704b 100644
+--- a/xcircuit.c
++++ b/xcircuit.c
+@@ -1281,7 +1281,7 @@ nexthier:
+ if (interp != NULL) {
+ Tcl_ResetResult(interp);
+ Tcl_AppendToObj(Tcl_GetObjResult(interp),
+- "handle is identified by leading H and hexidecimal value only", -1);
++ "handle is identified by leading H and hexadecimal value only", -1);
+ }
+ free_stack(&newstack);
+ return TCL_ERROR;