Browse Source

UI: Fix compiler error

I probably should have at least compiled this before pushing a commit.
jp9000 4 năm trước cách đây
mục cha
commit
ee67228a94
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      UI/api-interface.cpp

+ 1 - 1
UI/api-interface.cpp

@@ -646,7 +646,7 @@ struct OBSStudioAPI : obs_frontend_callbacks {
 	{
 		if (main->disableSaving &&
 		    event != OBS_FRONTEND_EVENT_SCENE_COLLECTION_CLEANUP &&
-		    event != OBS_FRONTEND_EVENT_SCENE_COLLECTION_EXIT)
+		    event != OBS_FRONTEND_EVENT_EXIT)
 			return;
 
 		for (size_t i = callbacks.size(); i > 0; i--) {