fix: xicotets errors al codi que he detectat al canviar de SO

This commit is contained in:
2025-06-07 09:15:49 +02:00
parent 767d38e170
commit 09b182c187
4 changed files with 6 additions and 6 deletions

View File

@@ -4,6 +4,7 @@
#include <SDL3/SDL_pixels.h> // Para SDL_PIXELFORMAT_RGBA8888
#include <SDL3/SDL_timer.h> // Para SDL_GetTicks
#include <algorithm> // Para max
#include <array> // Para array
#include <utility> // Para move
#include <vector> // Para vector
#include "fade.h" // Para Fade, FadeMode, FadeType
@@ -144,9 +145,8 @@ void Instructions::fillTexture()
lang::getText("INSTRUCTIONS_18"),
lang::getText("INSTRUCTIONS_19"),
lang::getText("INSTRUCTIONS_20"),
lang::getText("INSTRUCTIONS_21")
};
for (const auto& desc : ITEM_DESCRIPTIONS)
lang::getText("INSTRUCTIONS_21")};
for (const auto &desc : ITEM_DESCRIPTIONS)
{
const int l = text_->lenght(desc);
lenght = l > lenght ? l : lenght;