summaryrefslogtreecommitdiff
path: root/plugins/Folders/src/dlg_handlers.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-13 11:32:45 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-13 11:32:45 +0000
commite095cd0a755191d61f652ac400cf045d38f5b5d0 (patch)
tree0a063e4dc523de4ae5c335dead5f094ffaf2003a /plugins/Folders/src/dlg_handlers.cpp
parent28c0457c46f90e11b83c49b69f03cf85e932cd05 (diff)
- fix for the UNC names in folders;
- major code cleaning; - version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@14141 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Folders/src/dlg_handlers.cpp')
-rw-r--r--plugins/Folders/src/dlg_handlers.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/Folders/src/dlg_handlers.cpp b/plugins/Folders/src/dlg_handlers.cpp
index cbd03b44c2..ff347d9ba2 100644
--- a/plugins/Folders/src/dlg_handlers.cpp
+++ b/plugins/Folders/src/dlg_handlers.cpp
@@ -71,10 +71,9 @@ static void LoadRegisteredFolderItems(HWND hWnd)
static void RefreshPreview(HWND hWnd)
{
- TCHAR tmp[MAX_FOLDER_SIZE], res[MAX_FOLDER_SIZE];
+ TCHAR tmp[MAX_FOLDER_SIZE];
GetEditText(hWnd, tmp, MAX_FOLDER_SIZE);
- ExpandPath(res, tmp, MAX_FOLDER_SIZE);
- SetDlgItemText(hWnd, IDC_PREVIEW_EDIT, res);
+ SetDlgItemText(hWnd, IDC_PREVIEW_EDIT, ExpandPath(tmp));
}
static void LoadItem(HWND hWnd, PFolderItem item)