Typos and britainisms.

This commit is contained in:
Pavel Roskin 2003-06-02 18:39:44 +00:00
parent 881964e5a9
commit 3cd4571dc9
2 changed files with 8 additions and 8 deletions

View File

@ -82,7 +82,7 @@ struct _book_mark *book_mark_find (WEdit * edit, int line)
return 0; /* can't get here */ return 0; /* can't get here */
} }
/* returns true if a bookmark exists at this line of colour c */ /* returns true if a bookmark exists at this line of color c */
int book_mark_query_color (WEdit * edit, int line, int c) int book_mark_query_color (WEdit * edit, int line, int c)
{ {
struct _book_mark *p; struct _book_mark *p;
@ -97,8 +97,8 @@ int book_mark_query_color (WEdit * edit, int line, int c)
return 0; return 0;
} }
/* returns the number of bookmarks at this line and a list of their colours in c /* returns the number of bookmarks at this line and a list of their colors in c
up to a maximum of 8 colours */ up to a maximum of 8 colors */
int book_mark_query_all (WEdit * edit, int line, int *c) int book_mark_query_all (WEdit * edit, int line, int *c)
{ {
int i; int i;
@ -121,7 +121,7 @@ book_mark_insert (WEdit *edit, int line, int c)
p = book_mark_find (edit, line); p = book_mark_find (edit, line);
#if 0 #if 0
if (p->line == line) { if (p->line == line) {
/* already exists, so just change the colour */ /* already exists, so just change the color */
if (p->c != c) { if (p->c != c) {
edit->force |= REDRAW_LINE; edit->force |= REDRAW_LINE;
p->c = c; p->c = c;
@ -142,7 +142,7 @@ book_mark_insert (WEdit *edit, int line, int c)
p->next = q; p->next = q;
} }
/* remove a bookmark if there is one at this line matching this colour - c of -1 clear all */ /* remove a bookmark if there is one at this line matching this color - c of -1 clear all */
/* returns non-zero on not-found */ /* returns non-zero on not-found */
int book_mark_clear (WEdit * edit, int line, int c) int book_mark_clear (WEdit * edit, int line, int c)
{ {
@ -171,7 +171,7 @@ int book_mark_clear (WEdit * edit, int line, int c)
return r; return r;
} }
/* clear all bookmarks matching this colour, if c is -1 clears all */ /* clear all bookmarks matching this color, if c is -1 clears all */
void book_mark_flush (WEdit * edit, int c) void book_mark_flush (WEdit * edit, int c)
{ {
struct _book_mark *p, *q; struct _book_mark *p, *q;

View File

@ -382,7 +382,7 @@ void menu_save_mode_cmd (void)
int dlg_x; int dlg_x;
int l1; int l1;
/* Ok/Cancel buttons */ /* OK/Cancel buttons */
l1 = strlen (_(widgets[0].text)) + strlen (_(widgets[1].text)) + 5; l1 = strlen (_(widgets[0].text)) + strlen (_(widgets[1].text)) + 5;
maxlen = max (maxlen, l1); maxlen = max (maxlen, l1);
@ -2443,7 +2443,7 @@ edit_block_process_cmd (WEdit *edit, const char *shell_cmd, int block)
* Run script. * Run script.
* Initial space is to avoid polluting bash history. * Initial space is to avoid polluting bash history.
* Arguments: * Arguments:
* $1 - name of the edited file (to check its extention etc). * $1 - name of the edited file (to check its extension etc).
* $2 - file containing the current block. * $2 - file containing the current block.
* $3 - file where error messages should be put * $3 - file where error messages should be put
* (for compatibility with old scripts). * (for compatibility with old scripts).