diff --git a/GUI/mainwindow.cpp b/GUI/mainwindow.cpp index ad88af9..d5509aa 100644 --- a/GUI/mainwindow.cpp +++ b/GUI/mainwindow.cpp @@ -117,7 +117,7 @@ MainWindow::MainWindow(QWidget *parent) : if (WinHttpSendRequest(request, NULL, 0, NULL, 0, 0, NULL)) { DWORD bytesRead; - char buffer[1000] = {}; + char buffer[2000] = {}; WinHttpReceiveResponse(request, NULL); WinHttpReadData(request, buffer, 1000, &bytesRead); if (abs(strstr(buffer, "/tag/") - strstr(buffer, VERSION)) > 10) MESSAGE(UPDATE_AVAILABLE);