diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2014-02-24 14:53:26 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2014-02-24 14:53:26 +0000 |
commit | f8a58bee25b77af07a938cfdf71bdc00c0446b0a (patch) | |
tree | 969a7ea5d2b60907d10b7b94a443d8b82dfaeec5 /plugins/CmdLine/MimCmd | |
parent | 943543342edbc6e66630810ec4486e1a579abc2f (diff) |
removed some unneeded translations
git-svn-id: http://svn.miranda-ng.org/main/trunk@8257 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CmdLine/MimCmd')
-rw-r--r-- | plugins/CmdLine/MimCmd/src/commands.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/CmdLine/MimCmd/src/commands.cpp b/plugins/CmdLine/MimCmd/src/commands.cpp index f562e8948b..eba3893763 100644 --- a/plugins/CmdLine/MimCmd/src/commands.cpp +++ b/plugins/CmdLine/MimCmd/src/commands.cpp @@ -139,8 +139,7 @@ void HandleHelpCommand(PCommand helpCommand, char *argv[], int argc, PReply repl reply->code = MIMRES_SUCCESS;
STRNCPY(reply->message, Translate("Available commands: "), size);
- int i;
- for (i = 0; i < cKnownCommands - 1; i++)
+ for (int i = 0; i < cKnownCommands - 1; i++)
{
strncat(reply->message, knownCommands[i].command, size);
strncat(reply->message, ", ", size);
@@ -173,8 +172,7 @@ PReply ParseCommand(char *argv[], int argc) void FillSharedDataStruct(PCommand command, char *arguments[], int count)
{
- int i;
- for (i = 0; i < count; i++)
+ for (int i = 0; i < count; i++)
{
STRNCPY(sdCmdLine->arguments[i], arguments[i], ARGUMENT_SIZE);
}
|