diff options
Diffstat (limited to 'games/multimc/files/patch-api_logic_minecraft_OpSys.cpp')
-rw-r--r-- | games/multimc/files/patch-api_logic_minecraft_OpSys.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/games/multimc/files/patch-api_logic_minecraft_OpSys.cpp b/games/multimc/files/patch-api_logic_minecraft_OpSys.cpp index 923ba7be914b..d144d4efff78 100644 --- a/games/multimc/files/patch-api_logic_minecraft_OpSys.cpp +++ b/games/multimc/files/patch-api_logic_minecraft_OpSys.cpp @@ -1,4 +1,4 @@ ---- api/logic/minecraft/OpSys.cpp.orig 2017-12-18 00:19:43 UTC +--- api/logic/minecraft/OpSys.cpp.orig 2019-03-09 16:23:18 UTC +++ api/logic/minecraft/OpSys.cpp @@ -17,6 +17,8 @@ @@ -6,22 +6,22 @@ { + if (name == "freebsd") + return Os_FreeBSD; - if (name == "linux") - return Os_Linux; - if (name == "windows") + if (name == "linux") + return Os_Linux; + if (name == "windows") @@ -30,6 +32,8 @@ QString OpSys_toString(OpSys name) { - switch (name) - { + switch (name) + { + case Os_FreeBSD: + return "freebsd"; - case Os_Linux: - return "linux"; - case Os_OSX: + case Os_Linux: + return "linux"; + case Os_OSX: @@ -39,4 +43,4 @@ QString OpSys_toString(OpSys name) - default: - return "other"; - } + default: + return "other"; + } -} \ No newline at end of file +} |