mirror of
				https://github.com/chibicitiberiu/rainmeter-studio.git
				synced 2024-02-24 04:33:31 +00:00 
			
		
		
		
	Cosmetics
This commit is contained in:
		| @@ -53,8 +53,26 @@ struct MeasureData | |||||||
| 	UINT updateCounter; | 	UINT updateCounter; | ||||||
| 	bool download; | 	bool download; | ||||||
| 	bool forceReload; | 	bool forceReload; | ||||||
|  |  | ||||||
|  | 	MeasureData() : | ||||||
|  | 		skin(), | ||||||
|  | 		threadHandle(), | ||||||
|  | 		dlThreadHandle(), | ||||||
|  | 		codepage(), | ||||||
|  | 		stringIndex(), | ||||||
|  | 		stringIndex2(), | ||||||
|  | 		decodeCharacterReference(), | ||||||
|  | 		debug(), | ||||||
|  | 		updateRate(), | ||||||
|  | 		updateCounter(), | ||||||
|  | 		download(), | ||||||
|  | 		forceReload() | ||||||
|  | 	{ | ||||||
|  | 	} | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | const int lol = sizeof(MeasureData); | ||||||
|  |  | ||||||
| BYTE* DownloadUrl(std::wstring& url, DWORD* dwSize, bool forceReload); | BYTE* DownloadUrl(std::wstring& url, DWORD* dwSize, bool forceReload); | ||||||
| void ShowError(int lineNumber, WCHAR* errorMsg = NULL); | void ShowError(int lineNumber, WCHAR* errorMsg = NULL); | ||||||
| unsigned __stdcall NetworkThreadProc(void* pParam); | unsigned __stdcall NetworkThreadProc(void* pParam); | ||||||
| @@ -560,9 +578,6 @@ PLUGIN_EXPORT void Reload(void* data, void* rm, double* maxValue) | |||||||
| 	} | 	} | ||||||
|  |  | ||||||
| 	measure->section = RmGetMeasureName(rm); | 	measure->section = RmGetMeasureName(rm); | ||||||
| 	measure->decodeCharacterReference = 0; |  | ||||||
| 	measure->updateRate = 600; |  | ||||||
| 	measure->updateCounter = 0; |  | ||||||
|  |  | ||||||
| 	/* Read our own settings from the ini-file */ | 	/* Read our own settings from the ini-file */ | ||||||
|  |  | ||||||
| @@ -595,9 +610,6 @@ PLUGIN_EXPORT void Reload(void* data, void* rm, double* maxValue) | |||||||
| 		measure->debugFileLocation = RmReadPath(rm, L"Debug2File", L"C:\\WebParserDump.txt"); | 		measure->debugFileLocation = RmReadPath(rm, L"Debug2File", L"C:\\WebParserDump.txt"); | ||||||
| 		Log(LOG_DEBUG, measure->debugFileLocation.c_str()); | 		Log(LOG_DEBUG, measure->debugFileLocation.c_str()); | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
| 	measure->threadHandle = 0; |  | ||||||
| 	measure->dlThreadHandle = 0; |  | ||||||
| } | } | ||||||
|  |  | ||||||
| PLUGIN_EXPORT double Update(void* data) | PLUGIN_EXPORT double Update(void* data) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Birunthan Mohanathas
					Birunthan Mohanathas