Explorar el Código

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

jp9000 hace 3 años
padre
commit
64701a1cea
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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",