git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Windows: char* is not a Unicode string
[openafs.git]
/
src
/
WINNT
/
client_exp
/
gui2fs.cpp
diff --git
a/src/WINNT/client_exp/gui2fs.cpp
b/src/WINNT/client_exp/gui2fs.cpp
index
37f68f7
..
4cb93b7
100644
(file)
--- a/
src/WINNT/client_exp/gui2fs.cpp
+++ b/
src/WINNT/client_exp/gui2fs.cpp
@@
-1027,11
+1027,7
@@
FixNetbiosPath(CString& path)
CString nbroot;
const char * nbname = NetbiosName();
-#ifdef UNICODE
- nbroot.Format(_T("\\\\%S\\"), nbname);
-#else
nbroot.Format(_T("\\\\%s\\"), nbname);
-#endif
if (nbroot.CompareNoCase(path) == 0) {
path.Append(_T("all\\"));