Skip to content

Commit 65c3345

Browse files
committed
Rearrange include and remove trailing whitespaces
1 parent 289bf8b commit 65c3345

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/fheroes2/dialog/dialog_resolution.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020

2121
#include <cstddef>
2222
#include <cstdint>
23+
#include <numeric>
2324
#include <string>
2425
#include <utility>
2526
#include <vector>
26-
#include <numeric>
2727

2828
#include "agg_image.h"
2929
#include "cursor.h"
@@ -88,7 +88,7 @@ namespace
8888
const int32_t textOffsetY = offsetY + ( resolutionItemHeight - resolutionText.height() + textOffsetYCorrection ) / 2;
8989

9090
resolutionText.draw( textOffsetX, textOffsetY, fheroes2::Display::instance() );
91-
91+
9292
const int32_t gcd = std::gcd( resolution.width, resolution.height );
9393
const auto aspectRatioString = std::to_string( resolution.width / gcd ) + " : " + std::to_string( resolution.height / gcd );
9494
const int32_t aspectRatioWidth = fheroes2::Text( aspectRatioString, fontType ).width();

0 commit comments

Comments
 (0)