diff options
| author | George Hazan <ghazan@miranda.im> | 2016-10-28 16:18:50 +0300 | 
|---|---|---|
| committer | George Hazan <ghazan@miranda.im> | 2016-10-28 16:18:50 +0300 | 
| commit | cf9de21af3073e29cb7b149fbd8427241de70729 (patch) | |
| tree | 2a0b17f49d14d4a51bc942f15bf3747509f0c3cf /plugins/UserInfoEx/src/classPsTreeItem.cpp | |
| parent | 3de431cc811a1fbf9cd0d520fe33b6163c73e919 (diff) | |
- old useless helpers removed from the Options module;
- mir_app functions introduced instead of them;
- OPENOPTIONSDIALOG structure removed from m_options.h
Diffstat (limited to 'plugins/UserInfoEx/src/classPsTreeItem.cpp')
| -rw-r--r-- | plugins/UserInfoEx/src/classPsTreeItem.cpp | 10 | 
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/UserInfoEx/src/classPsTreeItem.cpp b/plugins/UserInfoEx/src/classPsTreeItem.cpp index fefe458ff8..99e3f70f29 100644 --- a/plugins/UserInfoEx/src/classPsTreeItem.cpp +++ b/plugins/UserInfoEx/src/classPsTreeItem.cpp @@ -328,7 +328,7 @@ int CPsTreeItem::Icon(HIMAGELIST hIml, OPTIONSDIALOGPAGE *odp, BYTE bInitIconsOn  			if (odp->hInstance == ghInst) {
  				// the pszGroup holds the iconfile for items added by uinfoex
 -				sid.defaultFile.w = odp->pwszGroup;
 +				sid.defaultFile.w = odp->szGroup.w;
  				// icon library exists?
  				if (sid.defaultFile.w)
 @@ -404,15 +404,15 @@ int CPsTreeItem::Create(CPsHdr* pPsh, OPTIONSDIALOGPAGE *odp)  		if (pPsh->_dwFlags & PSF_PROTOPAGESONLY) {
  			if (_dwFlags & ODPF_USERINFOTAB)
 -				mir_snwprintf(szTitle, L"%s %d\\%s", odp->pwszTitle, pPsh->_nSubContact+1, odp->pwszTab);
 +				mir_snwprintf(szTitle, L"%s %d\\%s", odp->szTitle.w, pPsh->_nSubContact+1, odp->szTab.w);
  			else
 -				mir_snwprintf(szTitle, L"%s %d", odp->pwszTitle, pPsh->_nSubContact+1);
 +				mir_snwprintf(szTitle, L"%s %d", odp->szTitle.w, pPsh->_nSubContact+1);
  		}
  		else {
  			if (_dwFlags & ODPF_USERINFOTAB)
 -				mir_snwprintf(szTitle, L"%s\\%s", odp->pwszTitle, odp->pwszTab);
 +				mir_snwprintf(szTitle, L"%s\\%s", odp->szTitle.w, odp->szTab.w);
  			else
 -				mir_wstrcpy(szTitle, odp->pwszTitle);
 +				mir_wstrcpy(szTitle, odp->szTitle.w);
  		}
  		// set the unique utf8 encoded name for the item
  		if (err = Name(szTitle, (_dwFlags & ODPF_UNICODE) == ODPF_UNICODE)) 
  | 
