1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

[3.2] C#: Add VisualStudio support

This commit is contained in:
Ignacio Etcheverry
2020-06-23 21:01:54 +02:00
parent 7ec072f7e7
commit d8af79140e
10 changed files with 357 additions and 5 deletions

View File

@@ -77,7 +77,6 @@ LONG _RegKeyQueryString(HKEY hKey, const String &p_value_name, String &r_value)
if (res == ERROR_MORE_DATA) {
// dwBufferSize now contains the actual size
Vector<WCHAR> buffer;
buffer.resize(dwBufferSize);
res = RegQueryValueExW(hKey, p_value_name.c_str(), 0, NULL, (LPBYTE)buffer.ptr(), &dwBufferSize);
}