From 38dfaa9c7bf757a8d1f81636d141ca86df931fe9 Mon Sep 17 00:00:00 2001 From: Patrick Lipka Date: Thu, 9 Dec 2021 17:17:46 +0100 Subject: [PATCH] Fixed usage of global variable sigint --- src/track.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/track.cpp b/src/track.cpp index 631f11b..760a684 100644 --- a/src/track.cpp +++ b/src/track.cpp @@ -3,6 +3,8 @@ #include "track.h" #include "project.h" +int sigint; + void handler(int signum){ sigint = 1; std::cout << std::endl;