Skip to content

Commit

Permalink
display: fix typos (#5328)
Browse files Browse the repository at this point in the history
Found via codespell
  • Loading branch information
luzpaz authored Mar 9, 2025
1 parent 64bff6a commit 76f2606
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion display/d.histogram/bar.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
* NOTES:
*
* 1) see dhist.h for a decalaration of the structure stat_list.
* 1) see dhist.h for a declaration of the structure stat_list.
* 2) see bar.h for normalized coordinates of the different parts
* of the bar-chart, like the origin of the chart, the label
* positions, etc.
Expand Down
2 changes: 1 addition & 1 deletion display/d.histogram/get_stats.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ int get_stats(const char *mapname, struct stat_list *dist_stats)
if (fgets(buf, sizeof(buf), fd) != NULL) {
/* WARNING!!!!!!
* this will be very wrong if type!=COUNT
* since the stat prodcued by r.stats will be a floating point value
* since the stat produced by r.stats will be a floating point value
* possibly less than 1 (shapiro)
*/
if (sscanf(buf, "* %ld", &stat) == 1) {
Expand Down
2 changes: 1 addition & 1 deletion display/d.histogram/pie.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*
* NOTES:
*
* 1) see dhist.h for a decalaration of the structure stat_list.
* 1) see dhist.h for a declaration of the structure stat_list.
* 2) see pie.h for normalized coordinates of the different parts
* of the pie-chart, like the origin of the pie, the label
* positions, etc.
Expand Down
2 changes: 1 addition & 1 deletion display/d.labels/d.labels.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h2>NOTES</h2>
<em><a href="ps.map.html">ps.map</a></em>.

<p>This module was formerly known as <em>d.paint.labels</em>.
The the old version of <em>d.labels</em> from GRASS 5, which provided
The old version of <em>d.labels</em> from GRASS 5, which provided
interactive placement and modification of paint labels, still needs to
have its functionality merged into this module.

Expand Down
2 changes: 1 addition & 1 deletion display/d.labels/d.labels.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Some of the information stored in the label file is unused by
*d.labels*. This extra information is used by such programs as
*[ps.map](ps.map.md)*.

This module was formerly known as *d.paint.labels*. The the old version
This module was formerly known as *d.paint.labels*. The old version
of *d.labels* from GRASS 5, which provided interactive placement and
modification of paint labels, still needs to have its functionality
merged into this module.
Expand Down
2 changes: 1 addition & 1 deletion display/d.legend/get_stats.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ void get_stats(const char *mapname, struct stat_list *dist_stats, int nsteps,
if (fgets(buf, sizeof(buf), fd) != NULL) {
/* WARNING!!!!!!
* this will be very wrong if type!=COUNT
* since the stat prodcued by r.stats will be a floating point value
* since the stat produced by r.stats will be a floating point value
* possibly less than 1 (shapiro)
*/
if (sscanf(buf, "* %ld", &stat) == 1) {
Expand Down
2 changes: 1 addition & 1 deletion display/d.vect/d.vect.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h2>NOTES</h2>

<p>When <em>d.vect</em> is used with <b>where</b> parameter on MS Windows
Command Prompt, it is important to use <code>&#710;</code>
carret symbol for escaping special characters <code>&lt; &gt; ( ) &amp; &#124; , ; &quot;</code>.
caret symbol for escaping special characters <code>&lt; &gt; ( ) &amp; &#124; , ; &quot;</code>.
<div class="code"><pre>
d.vect map=vector_map where="cat &#710;&gt; 10 AND cat &#710;&lt; 20"
</pre></div>
Expand Down
2 changes: 1 addition & 1 deletion display/d.vect/d.vect.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ vector type, colors, data fields, SQL queries, label size and
justification, etc.

When *d.vect* is used with **where** parameter on MS Windows Command
Prompt, it is important to use `ˆ` carret symbol for escaping special
Prompt, it is important to use `ˆ` caret symbol for escaping special
characters `< > ( ) & | , ; "`.

```sh
Expand Down
2 changes: 1 addition & 1 deletion display/displaydrivers.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h3>GRASS_RENDER_COMMAND</h3>

If environmental variable GRASS_RENDER_COMMAND is defined,
rendering is redirected by display library to the given external command
defined by this variable. Currently only Python scrips are supported.
defined by this variable. Currently only Python scripts are supported.

<p>
Lets start with simple example of Python script called <i>render.py</i>:
Expand Down
2 changes: 1 addition & 1 deletion display/displaydrivers.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ variable or by running *[d.mon](d.mon.md)* module.

If environmental variable GRASS_RENDER_COMMAND is defined, rendering is
redirected by display library to the given external command defined by
this variable. Currently only Python scrips are supported.
this variable. Currently only Python scripts are supported.

Lets start with simple example of Python script called *render.py*:

Expand Down

0 comments on commit 76f2606

Please sign in to comment.