diff options
Diffstat (limited to 'plugins/SmileyAdd/src')
| -rw-r--r-- | plugins/SmileyAdd/src/general.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SmileyAdd/src/general.cpp b/plugins/SmileyAdd/src/general.cpp index baec75c826..6f2f161101 100644 --- a/plugins/SmileyAdd/src/general.cpp +++ b/plugins/SmileyAdd/src/general.cpp @@ -48,12 +48,12 @@ int CalculateTextHeight(HDC hdc, CHARFORMAT2* chf)  HICON GetDefaultIcon(bool copy)
  {
 -	HICON resIco = Skin_GetIcon("SmileyAdd_ButtonSmiley");
 +	HICON resIco = IcoLib_GetIcon("SmileyAdd_ButtonSmiley");
  	if (resIco == NULL) 
  		resIco = (HICON)LoadImage(g_hInst, MAKEINTRESOURCE(IDI_SMILINGICON), IMAGE_ICON, 0, 0, copy ? 0 : LR_SHARED);
  	else if (copy) {
  		resIco = (HICON)CopyImage(resIco, IMAGE_ICON, 0, 0, 0);
 -		Skin_ReleaseIcon("SmileyAdd_ButtonSmiley");
 +		IcoLib_Release("SmileyAdd_ButtonSmiley");
  	}
  	return resIco;
  | 
