From 514f28995e83eacb995c7d1e42a5ce851b24435c Mon Sep 17 00:00:00 2001 From: kichik Date: Wed, 10 Apr 2013 07:11:21 +0000 Subject: [PATCH] my vc6 doesn't like string.clear() because it was born before me git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6330 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/strlist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/strlist.cpp b/Source/strlist.cpp index c6af2227..88e42d55 100644 --- a/Source/strlist.cpp +++ b/Source/strlist.cpp @@ -59,7 +59,7 @@ bool ExeHeadStringList::get(unsigned int offset, tstring&outstr) const { if (0 == offset) { - outstr.clear(); + outstr.assign(_T("")); return true; } char *p = (char*) m_gr.get();