Skip to content

Commit

Permalink
Restore accidently deleted line of code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lyall committed Jan 24, 2024
1 parent 9c04ed0 commit 9ca6c6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dllmain.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#include "stdafx.h"
#include "helper.hpp"
#include <inipp/inipp.h>
#define SPDLOG_WCHAR_TO_UTF8_SUPPORT
#include <spdlog/spdlog.h>
#include <spdlog/sinks/basic_file_sink.h>
#include <safetyhook.hpp>
Expand Down Expand Up @@ -280,6 +279,7 @@ void ReadConfig()
spdlog::info("----------");

// Calculate aspect ratio / use desktop res instead
GetWindowRect(GetDesktopWindow(), &rcDesktop);
if (iCustomResX > 0 && iCustomResY > 0)
{
fAspectRatio = (float)iCustomResX / (float)iCustomResY;
Expand Down

0 comments on commit 9ca6c6c

Please sign in to comment.