Fix go back to old ui incorrect arg

This commit is contained in:
dec05eba
2024-12-29 21:22:35 +01:00
parent 9c999f8ab9
commit 38e2a06bca

View File

@@ -306,7 +306,7 @@ int main(int argc, char **argv) {
global_hotkeys.reset();
if(exit_reason == "back-to-old-ui") {
const char *args[] = { "gpu-screen-recorder-gtk", nullptr };
const char *args[] = { "gpu-screen-recorder-gtk", "use-old-ui", nullptr };
execvp(args[0], (char* const*)args);
}