summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdward Betts <edward@4angle.com>2017-11-23 17:41:52 +0000
committerDave Davenport <DaveDavenport@users.noreply.github.com>2017-11-23 18:41:52 +0100
commit79adae77d72be3de96d1c4e6d53b6bae4cb7e00e (patch)
tree9020f6a7d173961e12a70682757242fa546124e8
parent54c45f8f5fa98a6becb7bedeb06bd8062dcea513 (diff)
Correct spelling mistakes. (#722)
-rw-r--r--INSTALL.md2
-rw-r--r--doc/rofi.14
-rw-r--r--doc/rofi.1.markdown4
-rw-r--r--include/dialogs/ssh.h2
-rw-r--r--include/helper.h2
-rw-r--r--include/mode-private.h2
-rw-r--r--include/view-internal.h2
-rw-r--r--include/widgets/box.h2
-rw-r--r--include/widgets/textbox.h2
-rw-r--r--include/widgets/widget.h4
-rw-r--r--include/xrmoptions.h2
-rw-r--r--lexer/theme-parser.y2
-rw-r--r--source/dialogs/run.c2
-rw-r--r--source/dialogs/ssh.c2
-rw-r--r--source/helper.c2
-rw-r--r--source/view.c2
-rw-r--r--source/widgets/listview.c4
-rw-r--r--source/widgets/textbox.c2
-rw-r--r--source/widgets/widget.c2
19 files changed, 23 insertions, 23 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 3286fbbf..e4da8f99 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -189,7 +189,7 @@ apt install rofi
#### Ubuntu 16.04 Xenial
-**Please note that the latest version of rofi in Ubuntu 16.04 is extremly outdated (v0.15.11)**
+**Please note that the latest version of rofi in Ubuntu 16.04 is extremely outdated (v0.15.11)**
This will cause issues with newer scripts (i.e. with clerk) and we recommend to manually download and install the deb file for zesty instead. You can find the deb on [ubuntu's launchpad page for rofi](https://launchpad.net/ubuntu/+source/rofi).
diff --git a/doc/rofi.1 b/doc/rofi.1
index 62820c4e..ed6d357c 100644
--- a/doc/rofi.1
+++ b/doc/rofi.1
@@ -296,7 +296,7 @@ Start in case sensitive mode\. This option can be changed at run\-time using the
\fB\-cycle\fR
.
.P
-Cycle thru the result list\. Default is \'true\'\.
+Cycle through the result list\. Default is \'true\'\.
.
.P
\fB\-filter\fR \fIfilter\fR
@@ -1246,7 +1246,7 @@ Or:
The first two fields specify the alpha level\. This determines the amount of transparency (00 everything, FF nothing)\. The other fields represent the actual color, in hex\.
.
.P
-Transparency can be used within \fBrofi\fR, for example if the selected background color is 50% transparent, the background color of the window will be visible thru it\.
+Transparency can be used within \fBrofi\fR, for example if the selected background color is 50% transparent, the background color of the window will be visible through it\.
.
.SH "KEY BINDINGS"
\fBrofi\fR has the following key bindings:
diff --git a/doc/rofi.1.markdown b/doc/rofi.1.markdown
index d4740273..990b93ed 100644
--- a/doc/rofi.1.markdown
+++ b/doc/rofi.1.markdown
@@ -165,7 +165,7 @@ This option can be changed at run-time using the `-kb-toggle-case-sensitivity` k
`-cycle`
-Cycle thru the result list. Default is 'true'.
+Cycle through the result list. Default is 'true'.
`-filter` *filter*
@@ -754,7 +754,7 @@ Or:
The first two fields specify the alpha level. This determines the amount of transparency (00 everything, FF nothing). The other fields represent the actual color, in hex.
Transparency can be used within **rofi**, for example if the selected background color is 50% transparent, the background color
-of the window will be visible thru it.
+of the window will be visible through it.
## KEY BINDINGS
diff --git a/include/dialogs/ssh.h b/include/dialogs/ssh.h
index 87ed72e3..9022da10 100644
--- a/include/dialogs/ssh.h
+++ b/include/dialogs/ssh.h
@@ -34,7 +34,7 @@
*
* SSH Mode, returns a list of known SSH hosts the user can log into.
* It does this by parsing the SSH config file and optional the known host and host list
- * It also keeps history of the last choosen hosts.
+ * It also keeps history of the last chosen hosts.
*
* This mode uses the following options from the #config object:
* * #Settings::ssh_command
diff --git a/include/helper.h b/include/helper.h
index 4fc9d147..76657173 100644
--- a/include/helper.h
+++ b/include/helper.h
@@ -238,7 +238,7 @@ gchar *rofi_escape_markup ( gchar *text );
* @param pattern The user input to match against.
* @param plen Pattern length.
* @param str The input to match against pattern.
- * @param slen Lenght of str.
+ * @param slen Length of str.
*
* FZF like fuzzy sorting algorithm.
*
diff --git a/include/mode-private.h b/include/mode-private.h
index e9f2deb3..9783f6b2 100644
--- a/include/mode-private.h
+++ b/include/mode-private.h
@@ -91,7 +91,7 @@ typedef int ( *_mode_token_match )( const Mode *data, rofi_int_matcher **tokens,
*
* Initialize the mode.
*
- * @returns TRUE is successfull
+ * @returns TRUE is successful
*/
typedef int ( *__mode_init )( Mode *sw );
diff --git a/include/view-internal.h b/include/view-internal.h
index 59178bd1..efbf7987 100644
--- a/include/view-internal.h
+++ b/include/view-internal.h
@@ -106,7 +106,7 @@ struct RofiViewState
int mouse_seen;
/** Flag indicating if view needs to be reloaded. */
int reload;
- /** The funciton to be called when finalizing this view */
+ /** The function to be called when finalizing this view */
void ( *finalize )( struct RofiViewState *state );
/** Width of the view */
diff --git a/include/widgets/box.h b/include/widgets/box.h
index 9933dd57..ac602321 100644
--- a/include/widgets/box.h
+++ b/include/widgets/box.h
@@ -36,7 +36,7 @@
*
* Widget used to pack multiple widgets either horizontally or vertically.
* It supports packing widgets horizontally or vertically. Child widgets are always
- * expanded to the maximum size in the oposite direction of the packing direction.
+ * expanded to the maximum size in the opposite direction of the packing direction.
* e.g. vertically packed widgets use the full box width.
*
* @{
diff --git a/include/widgets/textbox.h b/include/widgets/textbox.h
index 7e2314f0..0eb1feb7 100644
--- a/include/widgets/textbox.h
+++ b/include/widgets/textbox.h
@@ -119,7 +119,7 @@ typedef enum
* @param name The name of the to be created widget.
* @param flags #TextboxFlags indicating the type of textbox.
* @param tbft #TextBoxFontType current state of textbox.
- * @param text intial text to display.
+ * @param text initial text to display.
* @param xalign Set the Xalign value.
* @param yalign set the yalign value.
*
diff --git a/include/widgets/widget.h b/include/widgets/widget.h
index 28e3a8b1..2c72f2e8 100644
--- a/include/widgets/widget.h
+++ b/include/widgets/widget.h
@@ -203,14 +203,14 @@ int widget_get_width ( widget *widget );
/**
* @param widget The widget handle
*
- * @returns the y postion of the widget relative to its parent.
+ * @returns the y position of the widget relative to its parent.
*/
int widget_get_y_pos ( widget *widget );
/**
* @param widget The widget handle
*
- * @returns the x postion of the widget relative to its parent.
+ * @returns the x position of the widget relative to its parent.
*/
int widget_get_x_pos ( widget *widget );
diff --git a/include/xrmoptions.h b/include/xrmoptions.h
index 7bef1319..de327df1 100644
--- a/include/xrmoptions.h
+++ b/include/xrmoptions.h
@@ -121,7 +121,7 @@ void config_parse_xresource_dump ( void );
/**
* @param type The type of the value
- * @param key The key refering to this configuration option
+ * @param key The key referring to this configuration option
* @param value The value to update based [out][in]
* @param comment Description of this configuration option
*
diff --git a/lexer/theme-parser.y b/lexer/theme-parser.y
index c9714ff3..acb11084 100644
--- a/lexer/theme-parser.y
+++ b/lexer/theme-parser.y
@@ -491,7 +491,7 @@ t_property_distance_zero
;
/** Distance. */
t_property_distance
-/** Interger unit and line style */
+/** Integer unit and line style */
: T_INT t_property_unit t_property_line_style {
$$.distance = (double)$1;
$$.type = $2;
diff --git a/source/dialogs/run.c b/source/dialogs/run.c
index 8d7070ec..0465b9f7 100644
--- a/source/dialogs/run.c
+++ b/source/dialogs/run.c
@@ -56,7 +56,7 @@
#include "timings.h"
/**
- * Name of the history file where previously choosen commands are stored.
+ * Name of the history file where previously chosen commands are stored.
*/
#define RUN_CACHE_FILE "rofi-3.runcache"
diff --git a/source/dialogs/ssh.c b/source/dialogs/ssh.c
index cb8216cb..8b20ccb8 100644
--- a/source/dialogs/ssh.c
+++ b/source/dialogs/ssh.c
@@ -57,7 +57,7 @@
#include "dialogs/ssh.h"
/**
- * Name of the history file where previously choosen hosts are stored.
+ * Name of the history file where previously chosen hosts are stored.
*/
#define SSH_CACHE_FILE "rofi-2.sshcache"
diff --git a/source/helper.c b/source/helper.c
index 3f2d59aa..78c14d67 100644
--- a/source/helper.c
+++ b/source/helper.c
@@ -865,7 +865,7 @@ static int rofi_scorer_get_score_for ( enum CharClass prev, enum CharClass curr
* @param pattern The user input to match against.
* @param plen Pattern length.
* @param str The input to match against pattern.
- * @param slen Lenght of str.
+ * @param slen Length of str.
*
* rofi_scorer_fuzzy_evaluate implements a global sequence alignment algorithm to find the maximum accumulated score by
* aligning `pattern` to `str`. It applies when `pattern` is a subsequence of `str`.
diff --git a/source/view.c b/source/view.c
index 4f97db37..5881a459 100644
--- a/source/view.c
+++ b/source/view.c
@@ -1827,7 +1827,7 @@ void rofi_view_workers_initialize ( void )
// We are allowed to have
g_thread_pool_set_max_threads ( tpool, config.threads, &error );
}
- // If error occured during setup of pool, tell user and exit.
+ // If error occurred during setup of pool, tell user and exit.
if ( error != NULL ) {
g_warning ( "Failed to setup thread pool: '%s'", error->message );
g_error_free ( error );
diff --git a/source/widgets/listview.c b/source/widgets/listview.c
index 8e911c67..6705cbed 100644
--- a/source/widgets/listview.c
+++ b/source/widgets/listview.c
@@ -206,7 +206,7 @@ static void barview_draw ( widget *wid, cairo_t *draw )
int right_offset = lv->widget.w - widget_padding_get_right ( wid );
int top_offset = widget_padding_get_top ( wid );
if ( lv->cur_elements > 0 ) {
- // Set new x/y possition.
+ // Set new x/y position.
unsigned int max = MIN ( lv->cur_elements, lv->req_elements - offset );
if ( lv->rchanged ) {
int first = TRUE;
@@ -302,7 +302,7 @@ static void listview_draw ( widget *wid, cairo_t *draw )
}
*/
if ( lv->cur_elements > 0 && lv->max_rows > 0 ) {
- // Set new x/y possition.
+ // Set new x/y position.
unsigned int max = MIN ( lv->cur_elements, lv->req_elements - offset );
if ( lv->rchanged ) {
unsigned int width = lv->widget.w - spacing_hori * ( lv->cur_columns - 1 );
diff --git a/source/widgets/textbox.c b/source/widgets/textbox.c
index 4de50d32..5f588bd9 100644
--- a/source/widgets/textbox.c
+++ b/source/widgets/textbox.c
@@ -108,7 +108,7 @@ static WidgetTriggerActionResult textbox_editable_trigger_action ( widget *wid,
case MOUSE_CLICK_DOWN:
{
gint i;
- // substract padding on left.
+ // subtract padding on left.
x -= widget_padding_get_left ( wid );
gint max = textbox_get_font_width ( tb );
// Right of text, move to end.
diff --git a/source/widgets/widget.c b/source/widgets/widget.c
index 774ab502..f37648b0 100644
--- a/source/widgets/widget.c
+++ b/source/widgets/widget.c
@@ -185,7 +185,7 @@ void widget_draw ( widget *widget, cairo_t *d )
}
// Background painting.
- // Set new x/y possition.
+ // Set new x/y position.
cairo_translate ( d, widget->x, widget->y );
cairo_set_line_width ( d, 0 );
// Set outlines.