From 9baca65df9519bf48e2820c06f5612d29be4637a Mon Sep 17 00:00:00 2001 From: sje Date: Wed, 1 Aug 2007 06:06:05 +0000 Subject: fix for missing colours git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@318 4f64403b-2f21-0410-a795-97e2b3489a10 --- yapp/YAPP.mdsp | 1 + yapp/services.cpp | 4 ++-- yapp/version.h | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) (limited to 'yapp') diff --git a/yapp/YAPP.mdsp b/yapp/YAPP.mdsp index 045993e..df736d1 100644 --- a/yapp/YAPP.mdsp +++ b/yapp/YAPP.mdsp @@ -110,3 +110,4 @@ extraResourceOptions= 1=popups2.rc 2=version.rc [History] +popups2.cpp,0 diff --git a/yapp/services.cpp b/yapp/services.cpp index ad920cd..7db3f8b 100644 --- a/yapp/services.cpp +++ b/yapp/services.cpp @@ -133,8 +133,8 @@ int OldCreatePopupW(WPARAM wParam, LPARAM lParam) { if(pd_in->colorBack == 0xffffffff) // that's the old #define for 'skinned bg' pd_out->colorBack = pd_out->colorText = 0; else { - pd_out->colorBack &= 0xFFFFFF; - pd_out->colorText &= 0xFFFFFF; + pd_out->colorBack = pd_in->colorBack & 0xFFFFFF; + pd_out->colorText = pd_in->colorText & 0xFFFFFF; } lstPopupHistory.Add(pd_out->pwzTitle, pd_out->pwzText, time(0)); diff --git a/yapp/version.h b/yapp/version.h index 3224877..e478f2d 100644 --- a/yapp/version.h +++ b/yapp/version.h @@ -4,7 +4,7 @@ #define __MAJOR_VERSION 0 #define __MINOR_VERSION 5 #define __RELEASE_NUM 0 -#define __BUILD_NUM 1 +#define __BUILD_NUM 2 #define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM #define __FILEVERSION_STRING_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM -- cgit v1.2.3