Files
nsis-plugin-ns7zip/versions/19.00/CPP/7zip/UI/FileManager/PropertyName.cpp
T
Simone d074cc7c07 chore: initial commit (extracted from Launchers monorepo)
Plugin: ns7zip v2.0.0
Architectures: x86-ansi, x86-unicode, amd64-unicode
License: LGPL-2.1-or-later
2026-04-29 14:07:51 +02:00

24 lines
413 B
C++

// PropertyName.cpp
#include "StdAfx.h"
#include "../../../Common/IntToString.h"
#include "LangUtils.h"
#include "PropertyName.h"
UString GetNameOfProperty(PROPID propID, const wchar_t *name)
{
if (propID < 1000)
{
UString s = LangString(1000 + propID);
if (!s.IsEmpty())
return s;
}
if (name)
return name;
wchar_t temp[16];
ConvertUInt32ToString(propID, temp);
return temp;
}