mirror of
https://github.com/davatorium/rofi.git
synced 2025-01-27 15:25:24 -05:00
Fixing typos in docs and error messages, "numger" -> "number" (#867)
This commit is contained in:
parent
11afb8e678
commit
6830e5d117
2 changed files with 3 additions and 3 deletions
|
@ -210,7 +210,7 @@ void listview_set_num_lines ( listview *lv, unsigned int num_lines );
|
||||||
*
|
*
|
||||||
* Get the maximum number of lines to display.
|
* Get the maximum number of lines to display.
|
||||||
*
|
*
|
||||||
* @returns get the numger of lines to display.
|
* @returns get the number of lines to display.
|
||||||
*/
|
*/
|
||||||
unsigned int listview_get_num_lines ( listview *lv );
|
unsigned int listview_get_num_lines ( listview *lv );
|
||||||
|
|
||||||
|
|
|
@ -438,7 +438,7 @@ static gboolean __config_parser_set_property ( XrmOption *option, const Property
|
||||||
}
|
}
|
||||||
else if ( option->type == xrm_Number ) {
|
else if ( option->type == xrm_Number ) {
|
||||||
if ( p->type != P_INTEGER ) {
|
if ( p->type != P_INTEGER ) {
|
||||||
*error = g_strdup_printf ( "Option: %s needs to be set with a numger not a %s.", option->name, PropertyTypeName[p->type] );
|
*error = g_strdup_printf ( "Option: %s needs to be set with a number not a %s.", option->name, PropertyTypeName[p->type] );
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
*( option->value.snum ) = p->value.i;
|
*( option->value.snum ) = p->value.i;
|
||||||
|
@ -446,7 +446,7 @@ static gboolean __config_parser_set_property ( XrmOption *option, const Property
|
||||||
}
|
}
|
||||||
else if ( option->type == xrm_SNumber ) {
|
else if ( option->type == xrm_SNumber ) {
|
||||||
if ( p->type != P_INTEGER ) {
|
if ( p->type != P_INTEGER ) {
|
||||||
*error = g_strdup_printf ( "Option: %s needs to be set with a numger not a %s.", option->name, PropertyTypeName[p->type] );
|
*error = g_strdup_printf ( "Option: %s needs to be set with a number not a %s.", option->name, PropertyTypeName[p->type] );
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
*( option->value.num ) = (unsigned int ) ( p->value.i );
|
*( option->value.num ) = (unsigned int ) ( p->value.i );
|
||||||
|
|
Loading…
Add table
Reference in a new issue