Skip to content

Commit

Permalink
Merge pull request H-uru#1408 from dpogue/win32-define-fix
Browse files Browse the repository at this point in the history
Fix Win32 ifdef check in DisplayScaleChangedMsg
  • Loading branch information
zrax authored Jun 26, 2023
2 parents 45f3fa2 + 87e03a8 commit d5219d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class plDisplayScaleChangedMsg : public plMessage
float GetScale() const { return fScale; }
std::optional<ClientWindow> GetSuggestedLocation() const { return fNewLocation; }

#if WIN32
#ifdef HS_BUILD_FOR_WIN32
static RECT ConvertRect(const plDisplayScaleChangedMsg::ClientWindow& rect)
{
return *((const LPRECT)&rect);
Expand Down

0 comments on commit d5219d8

Please sign in to comment.