summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/modern_cachefuncs.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-26 16:50:14 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-26 16:50:14 +0000
commitc992cb2fdc11f1cac4bc5cbce26e8e2bb3b57da0 (patch)
tree697bdbf38a8a1f6b828a8bfbd08a478e19a82c6b /plugins/Clist_modern/modern_cachefuncs.cpp
parentf616294363c642d138f9dc0ef6eceae639e2434c (diff)
- microkernel addded;
- version bumped to 0.92.2 git-svn-id: http://svn.miranda-ng.org/main/trunk@641 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/modern_cachefuncs.cpp')
-rw-r--r--plugins/Clist_modern/modern_cachefuncs.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/plugins/Clist_modern/modern_cachefuncs.cpp b/plugins/Clist_modern/modern_cachefuncs.cpp
index 0a741adb90..444fef27d7 100644
--- a/plugins/Clist_modern/modern_cachefuncs.cpp
+++ b/plugins/Clist_modern/modern_cachefuncs.cpp
@@ -96,7 +96,7 @@ void CSmileyString::AddListeningToIcon(struct SHORTDATA *dat, PDNCE pdnce, TCHAR
int text_size = (int)_tcslen( szText );
- plText = li.List_Create( 0, 1 );
+ plText = List_Create( 0, 1 );
// Add Icon
{
@@ -126,7 +126,7 @@ void CSmileyString::AddListeningToIcon(struct SHORTDATA *dat, PDNCE pdnce, TCHAR
dat->text_smiley_height = max(piece->smiley_height, dat->text_smiley_height);
iMaxSmileyHeight = max(piece->smiley_height, iMaxSmileyHeight);
- li.List_Insert( plText, piece, plText->realCount);
+ List_Insert( plText, piece, plText->realCount);
}
// Add text
@@ -136,7 +136,7 @@ void CSmileyString::AddListeningToIcon(struct SHORTDATA *dat, PDNCE pdnce, TCHAR
piece->type = TEXT_PIECE_TYPE_TEXT;
piece->start_pos = 0;
piece->len = text_size;
- li.List_Insert( plText, piece, plText->realCount);
+ List_Insert( plText, piece, plText->realCount);
}
}
@@ -145,7 +145,7 @@ void CSmileyString::_CopySmileyList( SortedList *plInput )
// ASSERT( plText == NULL );
if ( !plInput || plInput->realCount == 0 ) return;
- plText=li.List_Create( 0, 1 );
+ plText=List_Create( 0, 1 );
for ( int i = 0; i < plInput->realCount; i++ )
{
ClcContactTextPiece *pieceFrom=(ClcContactTextPiece *) plInput->items[i];
@@ -155,7 +155,7 @@ void CSmileyString::_CopySmileyList( SortedList *plInput )
*piece=*pieceFrom;
if ( pieceFrom->type == TEXT_PIECE_TYPE_SMILEY)
piece->smiley = CopyIcon( pieceFrom->smiley );
- li.List_Insert( plText, piece, plText->realCount );
+ List_Insert( plText, piece, plText->realCount );
}
}
}
@@ -188,7 +188,7 @@ void CSmileyString::DestroySmileyList()
}
}
}
- li.List_Destroy( plText );
+ List_Destroy( plText );
}
mir_free(plText);
@@ -247,7 +247,7 @@ void CSmileyString::ReplaceSmileys(struct SHORTDATA *dat, PDNCE pdnce, TCHAR * s
}
// Lets add smileys
- plText = li.List_Create( 0, 1 );
+ plText = List_Create( 0, 1 );
for (unsigned i = 0; i < sp.numSmileys; ++i)
{
@@ -261,7 +261,7 @@ void CSmileyString::ReplaceSmileys(struct SHORTDATA *dat, PDNCE pdnce, TCHAR * s
piece->type = TEXT_PIECE_TYPE_TEXT;
piece->start_pos = last_pos ;//sp.str - text;
piece->len = spr[i].startChar - last_pos;
- li.List_Insert(plText, piece, plText->realCount);
+ List_Insert(plText, piece, plText->realCount);
}
// Add smiley
@@ -291,7 +291,7 @@ void CSmileyString::ReplaceSmileys(struct SHORTDATA *dat, PDNCE pdnce, TCHAR * s
dat->text_smiley_height = max( piece->smiley_height, dat->text_smiley_height );
iMaxSmileyHeight = max( piece->smiley_height, iMaxSmileyHeight );
- li.List_Insert(plText, piece, plText->realCount);
+ List_Insert(plText, piece, plText->realCount);
}
}
// Get next
@@ -308,7 +308,7 @@ void CSmileyString::ReplaceSmileys(struct SHORTDATA *dat, PDNCE pdnce, TCHAR * s
piece->start_pos = last_pos;
piece->len = text_size-last_pos;
- li.List_Insert(plText, piece, plText->realCount);
+ List_Insert(plText, piece, plText->realCount);
}
}