Skip to content

Commit c3c73e5

Browse files
committed
oops make this wide
1 parent bf4ffda commit c3c73e5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/overlay_layer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,8 @@ void OverlayLayer::on_toggle_showcase(CCObject* toggle_) {
324324
void OverlayLayer::on_recorder(CCObject*) {
325325
static bool has_ffmpeg = false;
326326
if (!has_ffmpeg) {
327-
char buffer[MAX_PATH];
328-
GetModuleFileNameA(GetModuleHandleA(NULL), buffer, MAX_PATH);
327+
wchar_t buffer[MAX_PATH];
328+
GetModuleFileNameW(GetModuleHandleA(NULL), buffer, MAX_PATH);
329329
const auto path = std::filesystem::path(buffer).parent_path() / "ffmpeg.exe";
330330
if (std::filesystem::exists(path)) {
331331
has_ffmpeg = true;

src/version.hpp.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#pragma once
22

3-
constexpr auto REPLAYBOT_VERSION = "v1.4.2-@COMMIT_HASH@";
3+
constexpr auto REPLAYBOT_VERSION = "v1.4.3-@COMMIT_HASH@";

0 commit comments

Comments
 (0)