Translate 'stop' to xfeCmdStopLoading (in addition to 'abort'). This is used by the RDF command translation.

This commit is contained in:
slamm%netscape.com 1998-09-02 00:26:15 +00:00
Родитель 479c87a522
Коммит dc0e18b2ca
2 изменённых файлов: 5 добавлений и 4 удалений

Просмотреть файл

@ -566,7 +566,7 @@ struct CommandList_t
static CommandList_t* intern_list;
char *
Command::intern(char *foo)
Command::intern(const char *foo)
{
int middle, first, last;
@ -653,6 +653,7 @@ static struct cmd_mapping mapping[] = {
{ "forward", xfeCmdForward },
{ "home", xfeCmdHome },
{ "abort", xfeCmdStopLoading },
{ "stop", xfeCmdStopLoading },
{ "viewHistory", xfeCmdOpenHistory },
{ "viewBookmark", xfeCmdOpenBookmarks },
@ -681,7 +682,7 @@ static struct cmd_mapping mapping[] = {
static int num_old_cmds = sizeof(mapping) / sizeof(mapping[0]);
char *
Command::convertOldRemote(char *foo)
Command::convertOldRemote(const char *foo)
{
int i;

Просмотреть файл

@ -60,8 +60,8 @@ typedef char* CommandType;
class Command {
public:
static CommandType intern(char* foo);
static CommandType convertOldRemote(char* foo);
static CommandType intern(const char* foo);
static CommandType convertOldRemote(const char* foo);
static char* getString(CommandType command)
{