X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/3634fc257bd0667daef14d72005cd87c735bbb24..5903c6ff59527362e869fedb565c56935ce8dd68:/src/exim_monitor/em_TextPop.c diff --git a/src/exim_monitor/em_TextPop.c b/src/exim_monitor/em_TextPop.c index faa51ed89..7e8a2eba1 100644 --- a/src/exim_monitor/em_TextPop.c +++ b/src/exim_monitor/em_TextPop.c @@ -47,7 +47,7 @@ SOFTWARE. * used by all more than one of these dialogs. * * The following functions are the only non-static ones defined - * in this module. They are located at the begining of the + * in this module. They are located at the beginning of the * section that contains this dialog box that uses them. * * void _XawTextInsertFileAction(w, event, params, num_params); @@ -127,7 +127,7 @@ static char search_text_trans[] = * * Note: * - * If the search was sucessful and the argument popdown is passed to + * If the search was successful and the argument popdown is passed to * this action routine then the widget will automatically popdown the * search widget. */ @@ -171,7 +171,7 @@ Cardinal * num_params; PopdownSearch(w, (XtPointer) tw->text.search, NULL); } -/* Function Name: PopdownSeach +/* Function Name: PopdownSearch * Description: Pops down the search widget and resets it. * Arguments: w - *** NOT USED ***. * closure - a pointer to the search structure. @@ -223,7 +223,7 @@ XtPointer call_data; * The parameter list contains one or two entries that may be the following. * * First Entry: The first entry is the direction to search by default. - * This arguement must be specified and may have a value of + * This argument must be specified and may have a value of * "left" or "right". * * Second Entry: This entry is optional and contains the value of the default @@ -448,8 +448,8 @@ char * ptr; /* Function Name: DoSearch * Description: Performs a search. - * Arguments: search - the serach structure. - * Returns: TRUE if sucessful. + * Arguments: search - the search structure. + * Returns: TRUE if successful. */ /* ARGSUSED */ @@ -468,7 +468,7 @@ struct SearchAndReplace * search; text.firstPos = 0; text.format = FMT8BIT; - dir = (XawTextScanDirection)(int) ((caddr_t)XawToggleGetCurrent(search->left_toggle) - + dir = (XawTextScanDirection) ((long)XawToggleGetCurrent(search->left_toggle) - R_OFFSET); pos = XawTextSearch( tw, dir, &text); @@ -628,7 +628,7 @@ XEvent *event; * * NOTE: * - * The function argument is passed the following arguements. + * The function argument is passed the following arguments. * * form - the from widget that is the dialog. * ptr - the initial string for the dialog's text widget.