1
0
Fork 0
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:
Lukas Alexandre 2018-10-14 16:57:52 +02:00 committed by Dave Davenport
parent 11afb8e678
commit 6830e5d117
2 changed files with 3 additions and 3 deletions

View file

@ -210,7 +210,7 @@ void listview_set_num_lines ( listview *lv, unsigned int num_lines );
*
* 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 );

View file

@ -438,7 +438,7 @@ static gboolean __config_parser_set_property ( XrmOption *option, const Property
}
else if ( option->type == xrm_Number ) {
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;
}
*( 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 ) {
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;
}
*( option->value.num ) = (unsigned int ) ( p->value.i );