diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-21 20:04:48 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-21 20:04:48 +0000 |
commit | d154673f93ad95197bce8cadb995daa5bc39f5d8 (patch) | |
tree | 191522aa88f9f845a9c27b1ddb86116b87033c4b /src/modules/chat/log.cpp | |
parent | be50a70bfd8b3f3daf0c3351fdce6e2fea515bd7 (diff) |
minor code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@7820 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/chat/log.cpp')
-rw-r--r-- | src/modules/chat/log.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/chat/log.cpp b/src/modules/chat/log.cpp index e042d23f99..3a6ef5d0ac 100644 --- a/src/modules/chat/log.cpp +++ b/src/modules/chat/log.cpp @@ -165,7 +165,7 @@ static int Log_AppendRTF(LOGSTREAMDATA* streamData, BOOL simpleMode, char **buff break;
case 'C':
case 'F':
- if ( !g_Settings->bStripFormat && !streamData->bStripFormat) {
+ if (!g_Settings->bStripFormat && !streamData->bStripFormat) {
int j = streamData->lin->bIsHighlighted ? 16 : EventToIndex(streamData->lin);
if ( *line == 'C' )
mir_snprintf(szTemp, SIZEOF(szTemp), "\\cf%u ", j+1);
@@ -176,21 +176,21 @@ static int Log_AppendRTF(LOGSTREAMDATA* streamData, BOOL simpleMode, char **buff case 'b':
case 'u':
case 'i':
- if ( !streamData->bStripFormat )
+ if (!streamData->bStripFormat )
mir_snprintf(szTemp, SIZEOF(szTemp), (*line == 'u') ? "\\%cl " : "\\%c ", *line );
break;
case 'B':
case 'U':
case 'I':
- if ( !streamData->bStripFormat ) {
+ if (!streamData->bStripFormat ) {
mir_snprintf( szTemp, SIZEOF(szTemp), (*line == 'U') ? "\\%cl0 " : "\\%c0 ", *line );
CharLowerA( szTemp );
}
break;
case 'r':
- if ( !streamData->bStripFormat ) {
+ if (!streamData->bStripFormat ) {
int index = EventToIndex(streamData->lin);
mir_snprintf(szTemp, SIZEOF(szTemp), "%s ", Log_SetStyle(index));
}
|