From b92d8276d39666e63d44ff9e254ac5b476ca7707 Mon Sep 17 00:00:00 2001 From: Birunthan Mohanathas Date: Thu, 7 Apr 2011 13:47:26 +0000 Subject: [PATCH] - Rainstaller now preserves statistics when applying theme - Build.bat now checks "Program Files (x86)" if files don't exist in "Program Files" --- Application/Application.vcxproj | 1 - Application/Application.vcxproj.filters | 1 - Library/System.h | 2 -- Library/TrayWindow.cpp | 6 +++--- 4 files changed, 3 insertions(+), 7 deletions(-) diff --git a/Application/Application.vcxproj b/Application/Application.vcxproj index a69dcacc..3698d31b 100644 --- a/Application/Application.vcxproj +++ b/Application/Application.vcxproj @@ -311,7 +311,6 @@ xcopy /Q /S /Y ..\Install\Default.ini ..\testbench\x32\release\ - diff --git a/Application/Application.vcxproj.filters b/Application/Application.vcxproj.filters index 0a7abc58..6bd57c8b 100644 --- a/Application/Application.vcxproj.filters +++ b/Application/Application.vcxproj.filters @@ -33,6 +33,5 @@ Resource Files - \ No newline at end of file diff --git a/Library/System.h b/Library/System.h index 3905fef3..9008a783 100644 --- a/Library/System.h +++ b/Library/System.h @@ -22,8 +22,6 @@ #include #include -typedef BOOL (WINAPI *FPSETDLLDIRECTORYW)(LPCWSTR lpPathName); - enum OSPLATFORM { OSPLATFORM_UNKNOWN = 0, diff --git a/Library/TrayWindow.cpp b/Library/TrayWindow.cpp index e067a164..748f51bf 100644 --- a/Library/TrayWindow.cpp +++ b/Library/TrayWindow.cpp @@ -835,12 +835,12 @@ LRESULT CALLBACK CTrayWindow::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARA case LM_GETREVID: if (lParam != NULL) { - char* Buffer=(char*)lParam; - if (wParam==0) + char* Buffer = (char*)lParam; + if (wParam == 0) { sprintf(Buffer, "Rainmeter.dll: %s", APPVERSION); } - else if (wParam==1) + else if (wParam == 1) { sprintf(Buffer, "Rainmeter.dll: %s %s, Rainy", APPVERSION, __DATE__); }