From 833c8b10a599d6691b98df8640e1a0a6a88e95bf Mon Sep 17 00:00:00 2001 From: Andrey Skvortsov Date: Tue, 21 Sep 2010 21:26:08 -0700 Subject: [PATCH] add braces --- rtgui/procthread.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rtgui/procthread.h b/rtgui/procthread.h index c025bd028..fe0d0a90f 100644 --- a/rtgui/procthread.h +++ b/rtgui/procthread.h @@ -44,9 +44,10 @@ class ProcessingThread { virtual void end () {} void process () { - if (stopped) + if (stopped){ #undef THREAD_PRIORITY_NORMAL thread = Glib::Thread::create(sigc::mem_fun(*this, &ProcessingThread::process_), (unsigned long int)0, true, true, Glib::THREAD_PRIORITY_NORMAL); + } } void process_ () { stopped = false;