Skip to content

Commit

Permalink
workaround for windows 10, so x64 does the workaround and win32 does not
Browse files Browse the repository at this point in the history
  • Loading branch information
janwilmans committed Jan 3, 2019
1 parent 2f38fd5 commit bbf64e9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
6 changes: 4 additions & 2 deletions DebugView++/LogView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include "MainFrame.h"
#include "LogView.h"
#include "RenameProcessDlg.h"
#include "VersionHelpers.h"
//#include "VersionHelpers.h" // IsWindows10OrGreater ??

namespace fusion {
namespace debugviewpp {
Expand Down Expand Up @@ -1262,8 +1262,10 @@ LRESULT CLogView::OnCustomDraw(NMHDR* pnmh)
{
//bool isWin10 = IsWindows10OrGreater();

#ifndef _WIN64
//if (!isWin10)
// return CDRF_DODEFAULT;
return CDRF_DODEFAULT;
#endif

LPNMLVCUSTOMDRAW lplvcd = (LPNMLVCUSTOMDRAW)pnmh;
if (lplvcd->nmcd.dwDrawStage == CDDS_PREPAINT)
Expand Down
4 changes: 2 additions & 2 deletions DebugView++/version.h
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#define VERSION 1,8,0,41
#define VERSION_STR "1.8.0.41"
#define VERSION 1,8,0,44
#define VERSION_STR "1.8.0.44"
4 changes: 2 additions & 2 deletions DebugView++/version.wxi
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
<?define ProductVersion.Major="1" ?>
<?define ProductVersion.Minor="8" ?>
<?define ProductVersion.Revision="0" ?>
<?define ProductVersion.Build="41" ?>
<?define ProductVersion="1.8.0.41" ?>
<?define ProductVersion.Build="44" ?>
<?define ProductVersion="1.8.0.44" ?>
</Include>
2 changes: 1 addition & 1 deletion createzip.bat
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ if not exist %upx_bin% (
:: notice we pack the win32 .vsix in any case (so also in x64 builds), and this is correct.

:zip
%zip_bin% -j %bin_dir%\DebugView++.zip %bin_dir%\DebugView++.exe %bin_dir%\DebugViewConsole.exe %project_dir%\release\*.vsix
%zip_bin% -j %bin_dir%\DebugView++.zip %bin_dir%\DebugView++.exe %bin_dir%\DebugView++*.pdb %bin_dir%\DebugViewConsole.exe %project_dir%\release\*.vsix

:exit

0 comments on commit bbf64e9

Please sign in to comment.