1
0
mirror of https://github.com/narzoul/DDrawCompat synced 2024-12-30 08:55:36 +01:00

Fixed Intel Indeo Video codecs on Windows 7

See issue #274.
This commit is contained in:
narzoul 2024-04-02 23:14:33 +02:00
parent ec9cf32e91
commit d6fa1274fd

View File

@ -265,7 +265,7 @@ namespace
{
case REG_SZ:
src = value->str;
*length = (getLength(value->str) + (flags ? 1 : 0)) * sizeof(Char);
*length = (getLength(value->str) + 1) * sizeof(Char);
break;
default: