Commit a266b2c0 authored by Peter Pentchev's avatar Peter Pentchev

Correct more typos.

parent 6bf0ae71
Change log for hexer, the multi-view binary editor
1.0.2 not yet
- correct some more typographical errors reported by
Jakub Wilk <jwilk@debian.org>
1.0.1 2016/10/12
- update the date in the manual page for the typographical
......@@ -17,7 +19,7 @@ Change log for hexer, the multi-view binary editor
make(1) implementations that do not pass CPPFLAGS.
- clarify a README comment about the unpacked subdirectory
- drop the HAVE_NCURSES configuration setting, the support for
changing the foreground and background color is autodeteted
changing the foreground and background color is autodetected
- drop the bundled termlib implementation, require termcap support
- drop the stubs for old-style termio support, the hexer code only
works with termios anyway
......
......@@ -903,7 +903,7 @@ unary: error_f = calc_operation(sp - 2, 0);
}
break;
case CO_BINARY_OPERATOR:
/* check if `y' is an unary minus */
/* check if `y' is a unary minus */
if (y.u.bo == OP_SUB && (sp == 2 ? 1 : !CO_VALUE(stack[sp - 3]))) {
stack[sp - 2].type = CO_UNARY_OPERATOR;
stack[sp - 2].u.uo = OP_NEG;
......
......@@ -275,7 +275,7 @@ he_free_command(struct he_command_s * const command)
/* he_free_command */
void
he_compound_comand(struct he_s *hedit, struct he_command_s *command)
he_compound_command(struct he_s *hedit, struct he_command_s *command)
{
char *buf;
size_t sz, pos;
......@@ -345,7 +345,7 @@ he_compound_comand(struct he_s *hedit, struct he_command_s *command)
}
} /* if */
}
/* he_compound_comand */
/* he_compound_command */
void
he_subcommand(struct he_s *hedit, int type, unsigned long position, unsigned long count, char *data)
......@@ -368,7 +368,7 @@ he_subcommand(struct he_s *hedit, int type, unsigned long position, unsigned lon
if (type < 0) {
command->again = again;
he_compound_comand(hedit, command);
he_compound_command(hedit, command);
command = 0;
} else { /* (type >= 0) */
if (!command) {
......@@ -622,7 +622,7 @@ he_again(struct he_s *hedit, long position)
struct he_command_s *i;
for (i = command; i; i = i->next_subcommand) i->position = position;
he_do_command(hedit, command);
he_compound_comand(hedit, command);
he_compound_command(hedit, command);
}
fseek(hedit->undo.swapfile, swap_position, SEEK_SET);
} else {
......@@ -669,7 +669,7 @@ he_again(struct he_s *hedit, long position)
}
for (i = command2; i; i = i->next_subcommand) i->position = position;
he_do_command(hedit, command2);
he_compound_comand(hedit, command2);
he_compound_command(hedit, command2);
/* The memory allocated by `command2' will not be freed here,
* because it has been inserted into the undo list.
*/
......
......@@ -222,7 +222,7 @@ he_free_command(struct he_command_s *command);
*/
void
he_compound_comand(struct he_s *hedit, struct he_command_s *command);
he_compound_command(struct he_s *hedit, struct he_command_s *command);
void
he_subcommand(struct he_s *hedit,
......
......@@ -10,7 +10,7 @@
* the longest string that matches a given regex. Example:
* the expression
* a*\(abcd\|bc\)
* doesn't not match the whole string `aaabcd' but only the substring
* doesn't match the whole string `aaabcd' but only the substring
* `aaabc`. I'm not sure if this is a bug, since `vi' and 'vim' do the
* same.
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment