OSDN Git Service
(root)
/
winmerge-jp
/
winmerge-jp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6816404
)
Webpage Compare: Fix missing file path in header bar
author
Takashi Sawanaka
<sdottaka@users.sourceforge.net>
Sat, 4 Feb 2023 23:19:48 +0000
(08:19 +0900)
committer
Takashi Sawanaka
<sdottaka@users.sourceforge.net>
Sat, 4 Feb 2023 23:19:48 +0000
(08:19 +0900)
Src/paths.cpp
patch
|
blob
|
history
diff --git
a/Src/paths.cpp
b/Src/paths.cpp
index
c793aaa
..
ce669f4
100644
(file)
--- a/
Src/paths.cpp
+++ b/
Src/paths.cpp
@@
-760,7
+760,7
@@
bool isFileURL(const String& path)
String FromURL(const String& url)
{
std::vector<TCHAR> path((std::max)(size_t(MAX_PATH), url.length() + 1));
- DWORD size = s
izeof(path) / sizeof(path[0]
);
+ DWORD size = s
tatic_cast<DWORD>(path.size()
);
PathCreateFromUrl(url.c_str(), path.data(), &size, 0);
return path.data();
}