From f8a58bee25b77af07a938cfdf71bdc00c0446b0a Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Mon, 24 Feb 2014 14:53:26 +0000 Subject: removed some unneeded translations git-svn-id: http://svn.miranda-ng.org/main/trunk@8257 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/CmdLine/MimCmd/src/commands.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'plugins/CmdLine/MimCmd/src') 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); } -- cgit v1.2.3