Просмотр исходного кода

UI: Only check major.minor for "what's new"

jp9000 3 лет назад
Родитель
Сommit
64701a1cea
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      UI/window-basic-main.cpp

+ 1 - 1
UI/window-basic-main.cpp

@@ -2147,7 +2147,7 @@ void OBSBasic::ReceivedIntroJson(const QString &text)
 					      LAST_INFO_VERSION_STRING);
 	int current_version_increment = -1;
 
-	if (lastVersion < CUR_VER) {
+	if ((lastVersion & ~0xFFFF) < (CUR_VER & ~0xFFFF)) {
 		config_set_int(App()->GlobalConfig(), "General",
 			       "InfoIncrement", -1);
 		config_set_int(App()->GlobalConfig(), "General",