From 5da8d14570b21e0466c6b98df4b49ff6a2e4a728 Mon Sep 17 00:00:00 2001 From: jp9000 Date: Thu, 17 Jul 2014 07:03:27 -0700 Subject: [PATCH] Fix update checck bug Fix bug where updates for windows would check for mac updates and vise versa. (I am ashamed) --- libobs/obs-config.h | 2 +- obs/window-basic-main.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libobs/obs-config.h b/libobs/obs-config.h index 49b8650bd..c9af513ac 100644 --- a/libobs/obs-config.h +++ b/libobs/obs-config.h @@ -41,7 +41,7 @@ * * Reset to zero each major or minor version */ -#define LIBOBS_API_PATCH_VER 1 +#define LIBOBS_API_PATCH_VER 2 #define MAKE_SEMANTIC_VERSION(major, minor, patch) \ ((major << 24) | \ diff --git a/obs/window-basic-main.cpp b/obs/window-basic-main.cpp index 5dc1f0cf4..5ae2fbfbe 100644 --- a/obs/window-basic-main.cpp +++ b/obs/window-basic-main.cpp @@ -879,9 +879,9 @@ void OBSBasic::updateFileRead() } #ifdef __APPLE__ -#define VERSION_ENTRY "windows" -#elif _WIN32 #define VERSION_ENTRY "mac" +#elif _WIN32 +#define VERSION_ENTRY "windows" #else #define VERSION_ENTRY "other" #endif