Skip to content

Commit 0c246da

Browse files
committed
Change order of add-on and effect splash error message
1 parent 521f349 commit 0c246da

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

source/runtime_gui.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -839,13 +839,13 @@ void reshade::runtime::draw_gui()
839839
}
840840

841841
std::string error_message;
842-
#if RESHADE_FX
843-
if (!_last_reload_successfull)
844-
error_message += "compiling some effects";
845-
#endif
846842
#if RESHADE_ADDON
847843
if (!addon_all_loaded)
848-
error_message += (error_message.empty() ? std::string() : " and ") + "loading some add-ons";
844+
error_message += "loading some add-ons";
845+
#endif
846+
#if RESHADE_FX
847+
if (!_last_reload_successfull)
848+
error_message += (error_message.empty() ? std::string() : " and ") + "compiling some effects";
849849
#endif
850850
if (!error_message.empty())
851851
{

0 commit comments

Comments
 (0)