Typo fixes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
857fe38e87
commit
dfbb2c9430
2
doc/NEWS
2
doc/NEWS
@ -674,7 +674,7 @@ Version 4.7.5-pre1
|
||||
* Incorrect key event handling in "Listing mode" dialog (#2045)
|
||||
* Usability of field history in "Find file" dialog (#2046, #2407)
|
||||
* Find "Whole words" search bug (#2396)
|
||||
* Directory ignorance does't work in file find (#2366, #2434)
|
||||
* Directory ignorance doesn't work in file find (#2366, #2434)
|
||||
* Incorrect line jump when started as editor (#2344)
|
||||
* User menu in standalone mcedit doesn't show filetype-specific items (#1651)
|
||||
* Configure script doesn't set samba configdir (#2419)
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
Skins engine.
|
||||
Work with colors - backward compability
|
||||
Work with colors - backward compatibility
|
||||
|
||||
Copyright (C) 2009, 2010, 2011, 2012
|
||||
The Free Software Foundation, Inc.
|
||||
|
@ -493,8 +493,8 @@ int str_casecmp (const char *t1, const char *t2);
|
||||
int str_ncasecmp (const char *t1, const char *t2);
|
||||
|
||||
/* return, how many bytes are are same from start in text and prefix
|
||||
* both strings are decomposed befor comapring and return value is counted
|
||||
* in decomposed form, too. caling with prefix, prefix, you get size in bytes
|
||||
* both strings are decomposed before comparing and return value is counted
|
||||
* in decomposed form, too. calling with prefix, prefix, you get size in bytes
|
||||
* of prefix in decomposed form,
|
||||
* I
|
||||
*/
|
||||
|
@ -97,7 +97,7 @@ struct WDialog
|
||||
|
||||
/* Internal variables */
|
||||
GList *widgets; /* widgets list */
|
||||
GList *current; /* Curently active widget */
|
||||
GList *current; /* Currently active widget */
|
||||
unsigned long widget_id; /* maximum id of all widgets */
|
||||
void *data; /* Data can be passed to dialog */
|
||||
char *event_group; /* Name of event group for this dialog */
|
||||
|
@ -509,7 +509,7 @@ copy_region (WInput * in, int x_first, int x_last)
|
||||
if (last == first)
|
||||
{
|
||||
/* Copy selected files to clipboard */
|
||||
mc_event_raise (MCEVENT_GROUP_FILEMANAGER, "panel_save_curent_file_to_clip_file", NULL);
|
||||
mc_event_raise (MCEVENT_GROUP_FILEMANAGER, "panel_save_current_file_to_clip_file", NULL);
|
||||
/* try use external clipboard utility */
|
||||
mc_event_raise (MCEVENT_GROUP_CORE, "clipboard_file_to_ext_clip", NULL);
|
||||
return;
|
||||
|
@ -144,7 +144,7 @@ context default
|
||||
keyword whole dstring yellow
|
||||
keyword whole wstring yellow
|
||||
|
||||
# D array atributes
|
||||
# D array attributes
|
||||
keyword wholeright .sizeof yellow
|
||||
keyword wholeright .length yellow
|
||||
keyword wholeright .ptr yellow
|
||||
@ -154,7 +154,7 @@ context default
|
||||
keyword wholeright .keys yellow
|
||||
keyword wholeright .values yellow
|
||||
keyword wholeright .rehash yellow
|
||||
# D types atributes
|
||||
# D types attributes
|
||||
keyword wholeright .init yellow
|
||||
keyword wholeright .alignof yellow
|
||||
keyword wholeright .mangleof yellow
|
||||
@ -178,7 +178,7 @@ context default
|
||||
# union
|
||||
keyword wholeright .offsetof yellow
|
||||
|
||||
# D 2.0 atributes
|
||||
# D 2.0 attributes
|
||||
keyword wholeright .idup yellow
|
||||
|
||||
# unary operators
|
||||
|
@ -659,7 +659,7 @@ edit_buffer_read_file (edit_buffer_t * buf, int fd, off_t size)
|
||||
|
||||
}
|
||||
|
||||
/* fullfill other parts of b2 from end to begin */
|
||||
/* fulfill other parts of b2 from end to begin */
|
||||
data_size = EDIT_BUF_SIZE;
|
||||
for (--i; i >= 0; i--)
|
||||
{
|
||||
@ -708,7 +708,7 @@ edit_buffer_write_file (edit_buffer_t * buf, int fd)
|
||||
off_t data_size, sz;
|
||||
void *b;
|
||||
|
||||
/* write all fullfilled parts of b1 from begin to end */
|
||||
/* write all fulfilled parts of b1 from begin to end */
|
||||
if (buf->b1->len != 0)
|
||||
{
|
||||
data_size = EDIT_BUF_SIZE;
|
||||
@ -747,7 +747,7 @@ edit_buffer_write_file (edit_buffer_t * buf, int fd)
|
||||
|
||||
if (sz == data_size)
|
||||
{
|
||||
/* write other fullfilled parts of b2 from end to begin */
|
||||
/* write other fulfilled parts of b2 from end to begin */
|
||||
data_size = EDIT_BUF_SIZE;
|
||||
while (--i >= 0)
|
||||
{
|
||||
|
@ -385,7 +385,7 @@ editcmd_dialog_completion_show (const WEdit * edit, int max_len, GString ** comp
|
||||
for (i = num_compl - 1; i >= 0; i--) /* reverse order */
|
||||
listbox_add_item (compl_list, LISTBOX_APPEND_AT_END, 0, (char *) compl[i]->str, NULL);
|
||||
|
||||
/* pop up the dialog and apply the choosen completion */
|
||||
/* pop up the dialog and apply the chosen completion */
|
||||
if (dlg_run (compl_dlg) == B_ENTER)
|
||||
{
|
||||
listbox_get_current (compl_list, &curr, NULL);
|
||||
@ -457,7 +457,7 @@ editcmd_dialog_select_definition_show (WEdit * edit, char *match_expr, int max_l
|
||||
g_free (label_def);
|
||||
}
|
||||
|
||||
/* pop up the dialog and apply the choosen completion */
|
||||
/* pop up the dialog and apply the chosen completion */
|
||||
if (dlg_run (def_dlg) == B_ENTER)
|
||||
{
|
||||
char *tmp_curr_def = (char *) curr_def;
|
||||
|
@ -1610,7 +1610,7 @@ my_statfs (struct my_statfs *myfs_stats, const char *path)
|
||||
** This is the "other side" of the hack to read_file_system_list() in
|
||||
** mountlist.c.
|
||||
** It's not the most efficient approach, but consumes less memory. It
|
||||
** also accomodates QNX's ability to mount filesystems on the fly.
|
||||
** also accommodates QNX's ability to mount filesystems on the fly.
|
||||
*/
|
||||
struct mount_entry *entry;
|
||||
struct fs_usage fs_use;
|
||||
|
@ -3879,7 +3879,7 @@ event_update_panels (const gchar * event_group_name, const gchar * event_name,
|
||||
|
||||
/* event callback */
|
||||
static gboolean
|
||||
panel_save_curent_file_to_clip_file (const gchar * event_group_name, const gchar * event_name,
|
||||
panel_save_current_file_to_clip_file (const gchar * event_group_name, const gchar * event_name,
|
||||
gpointer init_data, gpointer data)
|
||||
{
|
||||
(void) event_group_name;
|
||||
@ -4775,8 +4775,8 @@ panel_init (void)
|
||||
mc_skin_get ("widget-panel", "filename-scroll-right-char", "}");
|
||||
|
||||
mc_event_add (MCEVENT_GROUP_FILEMANAGER, "update_panels", event_update_panels, NULL, NULL);
|
||||
mc_event_add (MCEVENT_GROUP_FILEMANAGER, "panel_save_curent_file_to_clip_file",
|
||||
panel_save_curent_file_to_clip_file, NULL, NULL);
|
||||
mc_event_add (MCEVENT_GROUP_FILEMANAGER, "panel_save_current_file_to_clip_file",
|
||||
panel_save_current_file_to_clip_file, NULL, NULL);
|
||||
|
||||
}
|
||||
|
||||
|
@ -44,7 +44,7 @@
|
||||
* Lazyness/widgeting attack: This file does use the dialog manager
|
||||
* and uses mainly the dialog to achieve the help work. there is only
|
||||
* one specialized widget and it's only used to forward the mouse messages
|
||||
* to the appropiate routine.
|
||||
* to the appropriate routine.
|
||||
*/
|
||||
|
||||
|
||||
@ -542,7 +542,7 @@ help_show (WDialog * h, const char *paint_start)
|
||||
}
|
||||
break;
|
||||
case ' ':
|
||||
/* word delimeter */
|
||||
/* word delimiter */
|
||||
if (painting)
|
||||
help_print_word (h, word, &col, &line, TRUE);
|
||||
break;
|
||||
|
@ -20,7 +20,7 @@
|
||||
* Lazyness/widgeting attack: This file does use the dialog manager
|
||||
* and uses mainly the dialog to achieve the help work. there is only
|
||||
* one specialized widget and it's only used to forward the mouse messages
|
||||
* to the appropiate routine.
|
||||
* to the appropriate routine.
|
||||
*
|
||||
* This file is included by help.c and man2hlp.c
|
||||
*/
|
||||
|
@ -300,7 +300,7 @@ extfs_find_entry_int (struct entry *dir, const char *name, GSList * list,
|
||||
}
|
||||
|
||||
/* When we load archive, we create automagically
|
||||
* non-existant directories
|
||||
* non-existent directories
|
||||
*/
|
||||
if (pent == NULL && make_dirs)
|
||||
pent = extfs_generate_entry (dir->inode->archive, p, pdir, S_IFDIR | 0777);
|
||||
|
@ -93,7 +93,7 @@ Files appearing before their parent directories in the listings
|
||||
are now cached and printed later. This fixes a bug that would
|
||||
cause some directories to be listed twice.
|
||||
|
||||
Temporary filenames are choosen better. That is, they are
|
||||
Temporary filenames are chosen better. That is, they are
|
||||
generated using tmpnam(3). Previously, hardcoded filenames
|
||||
(in the current directory) would be used.
|
||||
|
||||
|
@ -61,7 +61,7 @@ Changelog:
|
||||
2.0 Added reading raw D64 image, and mapping for jokers. Now it is
|
||||
possible to read files with PET-ASCII/control sequences in filenames.
|
||||
Working with d64 images only. Added workaround for space at the
|
||||
beggining of the filename.
|
||||
beginning of the filename.
|
||||
1.2 Added configuration env variables: UC1541_VERBOSE and UC1541_HIDE_DEL.
|
||||
First one, if set to any value, will cause that error messages from
|
||||
c1541 program will be redirected as a failure messages visible in MC.
|
||||
@ -439,7 +439,7 @@ class Uc1541(object):
|
||||
if '/' in display_name:
|
||||
display_name = display_name.replace('/', '|')
|
||||
|
||||
# workaround for space and dash at the beggining of the
|
||||
# workaround for space and dash at the beginning of the
|
||||
# filename
|
||||
char_map = {' ': '~',
|
||||
'-': '_'}
|
||||
|
@ -32,7 +32,7 @@ SVAL(buf,pos)
|
||||
|
||||
returns the value of the unsigned short (16 bit) little-endian integer at
|
||||
offset pos within buffer buf. An integer of this type is sometimes
|
||||
refered to as "USHORT".
|
||||
referred to as "USHORT".
|
||||
|
||||
-----------------------------------------------------------------------------
|
||||
IVAL(buf,pos)
|
||||
@ -93,7 +93,7 @@ RSSVAL(buf,pos,val)
|
||||
|
||||
sets the value of the unsigned short (16 bit) big-endian integer at
|
||||
offset pos within buffer buf to value val.
|
||||
refered to as "USHORT".
|
||||
referred to as "USHORT".
|
||||
|
||||
-----------------------------------------------------------------------------
|
||||
RSIVAL(buf,pos,val)
|
||||
@ -127,7 +127,7 @@ mdrcnt: the maximum number of bytes of data which should be returned
|
||||
param: a pointer to the parameters to be sent.
|
||||
data: a pointer to the data to be sent.
|
||||
rparam: a pointer to a pointer which will be set to point to the returned
|
||||
paramters. The caller of call_api() must deallocate this memory.
|
||||
parameters. The caller of call_api() must deallocate this memory.
|
||||
rdata: a pointer to a pointer which will be set to point to the returned
|
||||
data. The caller of call_api() must deallocate this memory.
|
||||
|
||||
|
@ -236,7 +236,7 @@ interpret_interfaces (char *s, struct interface **interfaces, const char *descri
|
||||
|
||||
if (iface->bcast.s_addr != MKBCADDR (iface->ip.s_addr, iface->nmask.s_addr))
|
||||
{
|
||||
DEBUG (2, ("Warning: inconsistant interface %s\n", inet_ntoa (iface->ip)));
|
||||
DEBUG (2, ("Warning: inconsistent interface %s\n", inet_ntoa (iface->ip)));
|
||||
}
|
||||
|
||||
iface->next = NULL;
|
||||
|
@ -2343,7 +2343,7 @@ lp_killunused (BOOL (*snumused) (int))
|
||||
#endif /* 0 */
|
||||
#if 0
|
||||
/***************************************************************************
|
||||
save the curent values of all global and sDefault parameters into the
|
||||
save the current values of all global and sDefault parameters into the
|
||||
defaults union. This allows swat and testparm to show only the
|
||||
changed (ie. non-default) parameters.
|
||||
***************************************************************************/
|
||||
|
@ -167,7 +167,7 @@ EatComment (FILE * InFile)
|
||||
static int
|
||||
Continuation (char *line, int pos)
|
||||
/* ------------------------------------------------------------------------ **
|
||||
* Scan backards within a string to discover if the last non-whitespace
|
||||
* Scan backwards within a string to discover if the last non-whitespace
|
||||
* character is a line-continuation character ('\\').
|
||||
*
|
||||
* Input: line - A pointer to a buffer containing the string to be
|
||||
|
@ -705,7 +705,7 @@ undelfs_chdir (const vfs_path_t * vpath)
|
||||
|
||||
/* We may use access because ext2 file systems are local */
|
||||
/* this could be fixed by making an ext2fs io manager to use */
|
||||
/* our vfs, but that is left as an excercise for the reader */
|
||||
/* our vfs, but that is left as an exercise for the reader */
|
||||
fd = open (file, O_RDONLY);
|
||||
if (fd == -1)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user