diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2016-06-29 15:09:49 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2016-06-29 15:09:49 +0000 |
commit | 93d082240bd2da251a6c51230061e93780a0e763 (patch) | |
tree | 47c4d09ab451b37a7b7b0aaabd12f76aa80c4ba4 /plugins/Clist_modern/src/modern_skinopt.cpp | |
parent | ad377449e8662ecc2f10efcc5fbcbbe62fe76feb (diff) |
clist_modern: removed crazy code
git-svn-id: http://svn.miranda-ng.org/main/trunk@17044 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_skinopt.cpp')
-rw-r--r-- | plugins/Clist_modern/src/modern_skinopt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Clist_modern/src/modern_skinopt.cpp b/plugins/Clist_modern/src/modern_skinopt.cpp index 138b229cf3..9612aa02e5 100644 --- a/plugins/Clist_modern/src/modern_skinopt.cpp +++ b/plugins/Clist_modern/src/modern_skinopt.cpp @@ -116,7 +116,7 @@ INT_PTR CALLBACK DlgSkinOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPara sd = (SkinListData*)(tvi.lParam); } if (!sd) return 0; - if (sd->File && !_tcschr(sd->File, _T('%'))) { + if (!_tcschr(sd->File, _T('%'))) { GetPrivateProfileString(_T("Skin_Description_Section"), _T("Author"), TranslateT("( unknown )"), Author, _countof(Author), sd->File); GetPrivateProfileString(_T("Skin_Description_Section"), _T("URL"), _T(""), URL, _countof(URL), sd->File); GetPrivateProfileString(_T("Skin_Description_Section"), _T("Contact"), _T(""), Contact, _countof(Contact), sd->File); |