9.04 beta

This commit is contained in:
Igor Pavlov
2009-06-02 00:00:00 +00:00
committed by Kornel Lesiński
parent 8874e4fbc9
commit 829409452d
440 changed files with 19803 additions and 9941 deletions

View File

@@ -4,21 +4,18 @@
#include "RegistryAssociations.h"
#include "Common/StringConvert.h"
#include "Common/IntToString.h"
#include "Common/StringConvert.h"
#include "Common/StringToInt.h"
#include "Windows/Synchronization.h"
#include "Windows/Registry.h"
#include "Windows/FileName.h"
#include "Windows/Synchronization.h"
#include "StringUtils.h"
using namespace NWindows;
using namespace NRegistry;
namespace NRegistryAssociations {
static NSynchronization::CCriticalSection g_CriticalSection;
@@ -218,8 +215,8 @@ void AddShellExtensionInfo(const CSysString &extension,
if (iconIndex >= 0)
{
iconPathFull += L",";
wchar_t s[32];
ConvertUInt64ToString((UInt64)iconIndex, s);
wchar_t s[16];
ConvertUInt32ToString(iconIndex, s);
iconPathFull += s;
}
iconKey.SetValue(NULL, iconPathFull);