Page Menu
Home
Wildfire Games
Search
Configure Global Search
Log In
Files
F5219775
D4993.id21774.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D4993.id21774.diff
View Options
Index: source/lib/file/common/trace.cpp
===================================================================
--- source/lib/file/common/trace.cpp
+++ source/lib/file/common/trace.cpp
@@ -93,7 +93,7 @@
const wchar_t action = (wchar_t)m_action;
wchar_t buf[1000];
- swprintf_s(buf, ARRAY_SIZE(buf), L"%#010f: %c \"%ls\" %lu\n", m_timestamp, action, m_pathname.string().c_str(), (unsigned long)m_size);
+ swprintf_s(buf, ARRAY_SIZE(buf), L"%#010f: %lc \"%ls\" %lu\n", m_timestamp, action, m_pathname.string().c_str(), (unsigned long)m_size);
setlocale(LC_ALL, oldLocale);
return buf;
}
Index: source/lib/file/vfs/vfs_tree.cpp
===================================================================
--- source/lib/file/vfs/vfs_tree.cpp
+++ source/lib/file/vfs/vfs_tree.cpp
@@ -209,7 +209,7 @@
wcsftime(timestamp, ARRAY_SIZE(timestamp), L"%a %b %d %H:%M:%S %Y", localtime(&mtime));
wchar_t buf[200];
- swprintf_s(buf, ARRAY_SIZE(buf), L"(%c; %6lu; %ls) %ls", file.Loader()->LocationCode(), (unsigned long)file.Size(), timestamp, file.Name().string().c_str());
+ swprintf_s(buf, ARRAY_SIZE(buf), L"(%lc; %6lu; %ls) %ls", file.Loader()->LocationCode(), (unsigned long)file.Size(), timestamp, file.Name().string().c_str());
return buf;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Sep 24, 8:41 PM (13 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3376230
Default Alt Text
D4993.id21774.diff (1 KB)
Attached To
Mode
D4993: #5288 N7_N8 - changing %c to %lc for wchar arg.
Attached
Detach File
Event Timeline
Log In to Comment