git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
ebc0ed7
)
windows-wide-char-fix-20021210
author
Larry Greenfield
<leg@andrew.cmu.edu>
Tue, 10 Dec 2002 22:55:08 +0000 (22:55 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Tue, 10 Dec 2002 22:55:08 +0000 (22:55 +0000)
include afxpriv.h so we get macros
call GetSize() and not GetCount()
src/WINNT/client_exp/shell_ext.cpp
patch
|
blob
|
history
diff --git
a/src/WINNT/client_exp/shell_ext.cpp
b/src/WINNT/client_exp/shell_ext.cpp
index
92ce016
..
37e0f11
100644
(file)
--- a/
src/WINNT/client_exp/shell_ext.cpp
+++ b/
src/WINNT/client_exp/shell_ext.cpp
@@
-12,6
+12,7
@@
extern "C" {
#include <afs/stds.h>
}
+#include <afxpriv.h>
#include "stdafx.h"
#include <sys/types.h>
#include <sys/stat.h>
@@
-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)