commit d1d8a4ae7301b07079bfd431fd180c6ffa30f408 parent 30dfc6d92182b4fd9241703b94cf7e420c1e4f3b Author: fundamental <[email protected]> Date: Tue, 17 Jan 2017 13:13:05 -0500 Fix Segfault When Loading In Beginner UI Diffstat:
M | src/UI/Fl_Osc_Widget.cpp | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/UI/Fl_Osc_Widget.cpp b/src/UI/Fl_Osc_Widget.cpp @@ -96,7 +96,7 @@ void Fl_Osc_Widget::oscRegister(const char *path) void Fl_Osc_Widget::update(void) { - if(*((loc+ext).rbegin()) != '/') + if(*((loc+ext).rbegin()) != '/' && osc) osc->requestValue(loc+ext); }