diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-06 13:58:20 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-06 13:58:20 +0000 |
commit | 46a53191c1ad11a41c948594e972568e62d155b4 (patch) | |
tree | 7e57e6f7093fb0de766fe13a933d2f9231433e4d /src/modules/protocols/protocols.cpp | |
parent | 1fe5acae909ea64a1de9ac9f58cae5a3c2d3ad1f (diff) |
minor code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@332 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/protocols/protocols.cpp')
-rw-r--r-- | src/modules/protocols/protocols.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/protocols/protocols.cpp b/src/modules/protocols/protocols.cpp index 9d51b754ed..8916ff1512 100644 --- a/src/modules/protocols/protocols.cpp +++ b/src/modules/protocols/protocols.cpp @@ -329,7 +329,7 @@ char** __fastcall Proto_FilesMatrixA( wchar_t **files ) while( files[ count++ ] );
char** filesA = ( char** )mir_alloc( count * sizeof( char* ));
- for( int i = 0; i < count; ++i )
+ for ( int i = 0; i < count; ++i )
filesA[ i ] = mir_u2a( files[ i ] );
return filesA;
@@ -343,7 +343,7 @@ static wchar_t** __fastcall Proto_FilesMatrixU( char **files ) while( files[ count++ ] );
wchar_t** filesU = ( wchar_t** )mir_alloc( count * sizeof( wchar_t* ));
- for( int i = 0; i < count; ++i )
+ for ( int i = 0; i < count; ++i )
filesU[ i ] = mir_a2u( files[ i ] );
return filesU;
@@ -817,7 +817,7 @@ void UnloadProtocolsModule() }
if ( protos.getCount() ) {
- for( i=0; i < protos.getCount(); i++ ) {
+ for ( i=0; i < protos.getCount(); i++ ) {
mir_free( protos[i]->szName);
mir_free( protos[i] );
}
|