wbemprox: Use correct string id.
commit828304dab301a733c7b1a6f53c8bd0681fbae6c4
authorEric Pouech <epouech@codeweavers.com>
Tue, 17 Oct 2023 11:59:35 +0000 (17 13:59 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 17 Oct 2023 16:18:38 +0000 (17 18:18 +0200)
treec0e361e684c9c2e38cae9d90b8126da81e364347
parented674d63a4ec07e07a36e0bead84d7ac9bf6c9a7
wbemprox: Use correct string id.

Don't use hard coded string indexes as one of the expected string
can be absent, hence decreasing its index; nothing ensures that the
strings are placed in the order of the fields in the smbios structure.
So use, smbios structures' indexes instead.

Wbemprox was also expecting one string too much.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
dlls/wbemprox/builtin.c