Skip to content

Commit

Permalink
[clang-tidy] Fix expression
Browse files Browse the repository at this point in the history
  • Loading branch information
dscharrer committed Jul 12, 2020
1 parent 26f54e5 commit 7c9760c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/ArxGame.cpp
Expand Up @@ -416,7 +416,7 @@ bool ArxGame::initWindow(RenderWindow * window) {
mode = *i;
}
if(config.video.mode != mode) {
if(config.video.mode.resolution != config.video.mode.resolution || config.video.mode.refresh != 0) {
if(config.video.mode.resolution != mode.resolution || config.video.mode.refresh != 0) {
LogWarning << "Fullscreen mode " << config.video.mode << " not supported, using " << mode << " instead";
}
config.video.mode = mode;
Expand Down

0 comments on commit 7c9760c

Please sign in to comment.