wininet: InternetGetConnectedStateExW must return TRUE for success.

oldstable
Bruno Jesus 2014-01-29 20:01:09 -02:00 committed by Alexandre Julliard
parent 357f0f4656
commit 2ef27a2322
1 changed files with 1 additions and 1 deletions

View File

@ -1219,7 +1219,7 @@ BOOL WINAPI InternetGetConnectedStateExW(LPDWORD lpdwStatus, LPWSTR lpszConnecti
WARN("always returning LAN connection.\n");
*lpdwStatus = INTERNET_CONNECTION_LAN;
}
return LoadStringW(WININET_hModule, IDS_LANCONNECTION, lpszConnectionName, dwNameLen);
return LoadStringW(WININET_hModule, IDS_LANCONNECTION, lpszConnectionName, dwNameLen) > 0;
}