forked from Public-Mirror/Textractor
git is confusing
This commit is contained in:
commit
02f127e80c
@ -117,7 +117,7 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||||||
if (WinHttpSendRequest(request, NULL, 0, NULL, 0, 0, NULL))
|
if (WinHttpSendRequest(request, NULL, 0, NULL, 0, 0, NULL))
|
||||||
{
|
{
|
||||||
DWORD bytesRead;
|
DWORD bytesRead;
|
||||||
char buffer[1000] = {};
|
char buffer[2000] = {};
|
||||||
WinHttpReceiveResponse(request, NULL);
|
WinHttpReceiveResponse(request, NULL);
|
||||||
WinHttpReadData(request, buffer, 1000, &bytesRead);
|
WinHttpReadData(request, buffer, 1000, &bytesRead);
|
||||||
if (abs(strstr(buffer, "/tag/") - strstr(buffer, VERSION)) > 10) MESSAGE(UPDATE_AVAILABLE);
|
if (abs(strstr(buffer, "/tag/") - strstr(buffer, VERSION)) > 10) MESSAGE(UPDATE_AVAILABLE);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user