summaryrefslogtreecommitdiff
path: root/src/modules/icolib
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-14 18:27:05 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-14 18:27:05 +0000
commite53b020018a365cd23fcb897980da5f6a0075e16 (patch)
tree192e702ae3a436acb8db1515178a2590ee01ad77 /src/modules/icolib
parentf981f964c82253757f8298f313eb1dedfdf06147 (diff)
10 bytes that shattered the core
git-svn-id: http://svn.miranda-ng.org/main/trunk@415 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/icolib')
-rw-r--r--src/modules/icolib/skin2icons.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/icolib/skin2icons.cpp b/src/modules/icolib/skin2icons.cpp
index 0993e7ef10..29d69ad8f4 100644
--- a/src/modules/icolib/skin2icons.cpp
+++ b/src/modules/icolib/skin2icons.cpp
@@ -363,7 +363,7 @@ IconSourceItem* GetIconSourceItemFromPath( const TCHAR* path, int cxIcon, int cy
return NULL;
lstrcpyn( file, path, SIZEOF( file ));
- comma = _tcsrchr( file, ', ' );
+ comma = _tcsrchr( file, ',' );
if ( !comma )
n = 0;
else {
@@ -429,7 +429,7 @@ static HICON ExtractIconFromPath( const TCHAR *path, int cxIcon, int cyIcon )
return (HICON)NULL;
lstrcpyn( file, path, SIZEOF( file ));
- comma = _tcsrchr( file, ', ' );
+ comma = _tcsrchr( file, ',' );
if ( !comma )
n = 0;
else {
@@ -955,7 +955,7 @@ static void LoadSectionIcons(TCHAR *filename, SectionItem* sectionActive)
HICON hIcon;
int indx;
- mir_sntprintf( path, SIZEOF(path), _T("%s, "), filename );
+ mir_sntprintf( path, SIZEOF(path), _T("%s,"), filename );
suffIndx = lstrlen( path );
EnterCriticalSection( &csIconList );
@@ -1366,7 +1366,7 @@ INT_PTR CALLBACK DlgProcIconImport(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM
lvi.mask=LVIF_PARAM;
lvi.iItem = dragItem; lvi.iSubItem = 0;
ListView_GetItem(hPreview, &lvi);
- mir_sntprintf(path, MAX_PATH, _T("%s, %d"), filename, (int)lvi.lParam);
+ mir_sntprintf(path, MAX_PATH, _T("%s,%d"), filename, (int)lvi.lParam);
SendMessage(hwndParent, DM_CHANGEICON, dropHiLite, (LPARAM)path);
ListView_SetItemState(GetDlgItem(hwndParent, IDC_PREVIEW), dropHiLite, 0, LVIS_DROPHILITED);
} }