mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-25 14:22:54 -06:00
uppsrc: Visual C++ compiler bug [W]StringBuffer workaround
git-svn-id: svn://ultimatepp.org/upp/trunk@15123 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
313a4b1d90
commit
9293ed2be0
41 changed files with 99 additions and 99 deletions
|
|
@ -130,7 +130,7 @@ String WinMetaFile::Get() const
|
|||
int size = ::GetEnhMetaFileBits(hemf, 0, 0);
|
||||
StringBuffer b(size);
|
||||
::GetEnhMetaFileBits(hemf, size, (BYTE *)~b);
|
||||
return b;
|
||||
return String(b);
|
||||
}
|
||||
|
||||
void WinMetaFile::Serialize(Stream& s) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue