Skip to content

Commit

Permalink
Fix update checck bug
Browse files Browse the repository at this point in the history
Fix bug where updates for windows would check for mac updates and vise
versa.

(I am ashamed)
  • Loading branch information
jp9000 committed Jul 17, 2014
1 parent a5a7ba4 commit 5da8d14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion libobs/obs-config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) | \
Expand Down
4 changes: 2 additions & 2 deletions obs/window-basic-main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5da8d14

Please sign in to comment.