From 75231818302bdf746d79ddf76e241363b9e2b5e8 Mon Sep 17 00:00:00 2001 From: Arkadiusz Hiler Date: Mon, 13 Jun 2022 22:02:14 +0300 Subject: [PATCH] lsteamclient: Fix the order of arguments in steamclient_isteaminput_getglyph_png(). --- lsteamclient/steamclient_manual_152.cpp | 2 +- lsteamclient/steamclient_private.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lsteamclient/steamclient_manual_152.cpp b/lsteamclient/steamclient_manual_152.cpp index 5dbd9863..895617bd 100644 --- a/lsteamclient/steamclient_manual_152.cpp +++ b/lsteamclient/steamclient_manual_152.cpp @@ -46,7 +46,7 @@ static std::unordered_map cached_input_glyph static std::unordered_map > cached_input_glyphs_svg; static std::unordered_map > cached_input_glyphs_png[ESteamInputGlyphSize_count]; -const char *steamclient_isteaminput_getglyph_png(int origin, int flags, int size, const char *lin_path) +const char *steamclient_isteaminput_getglyph_png(int origin, int size, int flags, const char *lin_path) { if(!lin_path) return NULL; diff --git a/lsteamclient/steamclient_private.h b/lsteamclient/steamclient_private.h index ece5f456..d12e770c 100644 --- a/lsteamclient/steamclient_private.h +++ b/lsteamclient/steamclient_private.h @@ -52,7 +52,7 @@ void steamclient_free_stringlist(const char **out); const char *steamclient_isteamcontroller_getglyph(int origin, const char *lin_path); const char *steamclient_isteaminput_getglyph(int origin, const char *lin_path); const char *steamclient_isteaminput_getglyph_xbox(int origin, const char *lin_path); -const char *steamclient_isteaminput_getglyph_png(int origin, int flags, int size, const char *lin_path); +const char *steamclient_isteaminput_getglyph_png(int origin, int size, int flags, const char *lin_path); const char *steamclient_isteaminput_getglyph_svg(int origin, int flags, const char *lin_path); uint32 manual_convert_nNativeKeyCode(uint32 win_vk); void *create_LinuxISteamMatchmakingServerListResponse(void *win, const char *version);