update color at picking and cleanup code from some warnings
This commit is contained in:
@@ -128,7 +128,7 @@ void NodeDialogCloud::load_thumbs_thread()
|
||||
break;
|
||||
|
||||
res.clear();
|
||||
char* url_escaped = curl_easy_escape(curl, n.c_str(), n.size());
|
||||
char* url_escaped = curl_easy_escape(curl, n.c_str(), (int)n.size());
|
||||
std::string url = std::string("https://panopainter.com/cloud/cloud-info.php?file=") + url_escaped;
|
||||
delete url_escaped;
|
||||
curl_easy_setopt(curl, CURLOPT_URL, url.c_str());
|
||||
|
||||
Reference in New Issue
Block a user