From: Larry Greenfield Date: Tue, 10 Dec 2002 22:55:57 +0000 (+0000) Subject: STABLE12-windows-wide-char-fix-20021210 X-Git-Tag: openafs-stable-1_2_8~1 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=d373a58d8d668c5865d5a910083478702428e9be;p=packages%2Fo%2Fopenafs.git STABLE12-windows-wide-char-fix-20021210 include afxpriv.h so we get macros call GetSize() and not GetCount() (cherry picked from commit 7c5798f3902f7329511f127d7f6c8922885da383) --- diff --git a/src/WINNT/client_exp/shell_ext.cpp b/src/WINNT/client_exp/shell_ext.cpp index 92ce016f7..37e0f1102 100644 --- a/src/WINNT/client_exp/shell_ext.cpp +++ b/src/WINNT/client_exp/shell_ext.cpp @@ -12,6 +12,7 @@ extern "C" { #include } +#include #include "stdafx.h" #include #include @@ -331,7 +332,7 @@ STDMETHODIMP CShellExt::XMenuExt::InvokeCommand(LPCMINVOKECOMMANDINFO lpici) } break; case IDM_REMOVE_SYMLINK: { - if (files.GetCount()>1) + if (files.GetSize()>1) break; int nChoice = ShowMessageBox(IDS_REALLY_REMOVE_SYMLINK, MB_ICONQUESTION | MB_YESNO, IDS_REALLY_REMOVE_SYMLINK); if (nChoice == IDYES)