Skip to content

Commit

Permalink
scrn.cpp: fix black line @ top when compiled with Visual Studio
Browse files Browse the repository at this point in the history
  • Loading branch information
dinkc64 committed Dec 1, 2023
1 parent 71a5fed commit 61142f8
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/burner/win32/scrn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3492,17 +3492,6 @@ int ScrnSize()
ew = GetSystemMetrics(SM_CXSIZEFRAME) << 1;
eh = GetSystemMetrics(SM_CYSIZEFRAME) << 1;

// Visual Studio 2012 (seems to have an issue with these, other reports on the web about it too
#if defined _MSC_VER
#if _MSC_VER >= 1700
// using the old XP supporting SDK we don't need to alter anything
#if !defined BUILD_VS_XP_TARGET
ew <<= 1;
eh <<= 1;
#endif
#endif
#endif

if (bMenuEnabled) {
eh += GetSystemMetrics(SM_CYCAPTION);
eh += nMenuHeight;
Expand Down

0 comments on commit 61142f8

Please sign in to comment.