Skip to content

Commit 9471923

Browse files
committed
fix: adapt code to new dep versions
1 parent fa91c2d commit 9471923

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,6 @@ target_link_libraries(SimpleGraphic
237237
LuaJIT::LuaJIT
238238
Microsoft.GSL::GSL
239239
re2::re2
240-
sol2
241240
Threads::Threads
242241
WebP::webpdecoder
243242
ZLIB::ZLIB

engine/render/r_main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1984,7 +1984,7 @@ void r_renderer_c::DoScreenshot(image_c* i, int type, const char* ext)
19841984
time_t curTime;
19851985
time(&curTime);
19861986
auto ssPath = std::filesystem::u8path(fmt::format(CFG_DATAPATH "Screenshots/{:%m%d%y_%H%M%S}.{}",
1987-
fmt::localtime(curTime), ext));
1987+
*std::localtime(&curTime), ext));
19881988

19891989
// Make folder if it doesn't exist
19901990
std::error_code ec;

0 commit comments

Comments
 (0)