Module: wine Branch: master Commit: 169af787d2edc9330aa8b3e16dd6f2afa127b9d5 URL: http://source.winehq.org/git/wine.git/?a=commit;h=169af787d2edc9330aa8b3e16d...
Author: Paul Vriens paul.vriens.wine@gmail.com Date: Tue Jun 26 17:47:56 2007 +0200
advapi32/service: Fix wrong key.
---
dlls/advapi32/service.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/advapi32/service.c b/dlls/advapi32/service.c index 701227b..3319ca0 100644 --- a/dlls/advapi32/service.c +++ b/dlls/advapi32/service.c @@ -1880,7 +1880,7 @@ QueryServiceConfigW( SC_HANDLE hService, total += sizeof(WCHAR);
sz = 0; - r = RegQueryValueExW( hKey, szStart, 0, &type, NULL, &sz ); + r = RegQueryValueExW( hKey, szObjectName, 0, &type, NULL, &sz ); if( ( r == ERROR_SUCCESS ) && ( type == REG_SZ ) ) total += sz;